summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/db/btree/extern.h6
-rw-r--r--lib/libc/db/hash/extern.h6
-rw-r--r--lib/libc/gen/getnetgrent.c21
-rw-r--r--lib/libc/gen/glob.c10
-rw-r--r--lib/libc/net/getaddrinfo.c44
-rw-r--r--lib/libc/net/gethostnamadr.c5
-rw-r--r--lib/libc/net/getnameinfo.c6
-rw-r--r--lib/libc/net/inet_net_ntop.c7
-rw-r--r--lib/libc/net/inet_net_pton.c7
-rw-r--r--lib/libc/net/rcmd.c6
-rw-r--r--lib/libc/net/res_comp.c7
-rw-r--r--lib/libc/stdio/local.h4
-rw-r--r--lib/libc/stdio/vfprintf.c8
-rw-r--r--lib/libc/stdlib/merge.c6
-rw-r--r--lib/libc/stdlib/qsort.c4
-rw-r--r--lib/libc/stdlib/radixsort.c6
-rw-r--r--lib/libc/yp/ypinternal.h8
17 files changed, 75 insertions, 86 deletions
diff --git a/lib/libc/db/btree/extern.h b/lib/libc/db/btree/extern.h
index e985a9aa0ba..4c083ecdd51 100644
--- a/lib/libc/db/btree/extern.h
+++ b/lib/libc/db/btree/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.5 2002/02/16 21:27:22 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.6 2002/02/17 19:42:22 millert Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -54,8 +54,8 @@ int __bt_ret(BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int);
EPG *__bt_search(BTREE *, const DBT *, int *);
int __bt_seq(const DB *, DBT *, DBT *, u_int);
void __bt_setcur(BTREE *, pgno_t, u_int);
-int __bt_split __P((BTREE *, PAGE *,
- const DBT *, const DBT *, int, size_t, u_int32_t));
+int __bt_split(BTREE *, PAGE *,
+ const DBT *, const DBT *, int, size_t, u_int32_t);
int __bt_sync(const DB *, u_int);
int __ovfl_delete(BTREE *, void *);
diff --git a/lib/libc/db/hash/extern.h b/lib/libc/db/hash/extern.h
index 03ef3964fde..8ac029b6726 100644
--- a/lib/libc/db/hash/extern.h
+++ b/lib/libc/db/hash/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.5 2002/02/16 21:27:22 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.6 2002/02/17 19:42:22 millert Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -41,8 +41,8 @@ int __big_delete(HTAB *, BUFHEAD *);
int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *);
int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int);
int __big_return(HTAB *, BUFHEAD *, int, DBT *, int);
-int __big_split __P((HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *,
- int, u_int32_t, SPLIT_RETURN *));
+int __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *,
+ int, u_int32_t, SPLIT_RETURN *);
int __buf_free(HTAB *, int, int);
void __buf_init(HTAB *, int);
u_int32_t __call_hash(HTAB *, char *, int);
diff --git a/lib/libc/gen/getnetgrent.c b/lib/libc/gen/getnetgrent.c
index a4976fc0b05..235cba4d130 100644
--- a/lib/libc/gen/getnetgrent.c
+++ b/lib/libc/gen/getnetgrent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getnetgrent.c,v 1.11 2002/02/16 21:27:22 millert Exp $ */
+/* $OpenBSD: getnetgrent.c,v 1.12 2002/02/17 19:42:22 millert Exp $ */
/*
* Copyright (c) 1994 Christos Zoulas
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: getnetgrent.c,v 1.11 2002/02/16 21:27:22 millert Exp $";
+static char *rcsid = "$OpenBSD: getnetgrent.c,v 1.12 2002/02/17 19:42:22 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -72,15 +72,14 @@ static int getstring(char **, int, char **);
static struct netgroup *getnetgroup(char **);
static int lookup(const char *, char *, char **, int);
static void addgroup(char *, struct stringlist *, char *);
-static int in_check __P((const char *, const char *,
- const char *, struct netgroup *));
-static int in_find __P((char *, struct stringlist *,
- char *, const char *,
- const char *, const char *));
-static char *in_lookup1 __P((const char *, const char *,
- const char *, int));
-static int in_lookup __P((const char *, const char *,
- const char *, const char *, int));
+static int in_check(const char *, const char *,
+ const char *, struct netgroup *);
+static int in_find(char *, struct stringlist *,
+ char *, const char *, const char *, const char *);
+static char *in_lookup1(const char *, const char *,
+ const char *, int);
+static int in_lookup(const char *, const char *,
+ const char *, const char *, int);
/*
* _ng_sl_init(): Initialize a string list
diff --git a/lib/libc/gen/glob.c b/lib/libc/gen/glob.c
index 3048ee8318f..aa918f41a8a 100644
--- a/lib/libc/gen/glob.c
+++ b/lib/libc/gen/glob.c
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)glob.c 8.3 (Berkeley) 10/13/93";
#else
-static char rcsid[] = "$OpenBSD: glob.c,v 1.17 2002/02/16 21:27:22 millert Exp $";
+static char rcsid[] = "$OpenBSD: glob.c,v 1.18 2002/02/17 19:42:22 millert Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -138,10 +138,10 @@ static Char *g_strchr(Char *, int);
static int g_stat(Char *, struct stat *, glob_t *);
static int glob0(const Char *, glob_t *);
static int glob1(Char *, Char *, glob_t *, size_t *);
-static int glob2 __P((Char *, Char *, Char *, Char *, Char *, Char *,
- glob_t *, size_t *));
-static int glob3 __P((Char *, Char *, Char *, Char *, Char *, Char *,
- Char *, Char *, glob_t *, size_t *));
+static int glob2(Char *, Char *, Char *, Char *, Char *, Char *,
+ glob_t *, size_t *);
+static int glob3(Char *, Char *, Char *, Char *, Char *, Char *,
+ Char *, Char *, glob_t *, size_t *);
static int globextend(const Char *, glob_t *, size_t *);
static const Char *
globtilde(const Char *, Char *, size_t, glob_t *);
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c
index 72183d260ba..d16900b4a0e 100644
--- a/lib/libc/net/getaddrinfo.c
+++ b/lib/libc/net/getaddrinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getaddrinfo.c,v 1.32 2002/02/16 21:27:23 millert Exp $ */
+/* $OpenBSD: getaddrinfo.c,v 1.33 2002/02/17 19:42:23 millert Exp $ */
/* $KAME: getaddrinfo.c,v 1.31 2000/08/31 17:36:43 itojun Exp $ */
/*
@@ -200,18 +200,18 @@ struct res_target {
};
static int str_isnumber(const char *);
-static int explore_fqdn __P((const struct addrinfo *, const char *,
- const char *, struct addrinfo **));
-static int explore_null __P((const struct addrinfo *,
- const char *, struct addrinfo **));
-static int explore_numeric __P((const struct addrinfo *, const char *,
- const char *, struct addrinfo **));
-static int explore_numeric_scope __P((const struct addrinfo *, const char *,
- const char *, struct addrinfo **));
-static int get_canonname __P((const struct addrinfo *,
- struct addrinfo *, const char *));
-static struct addrinfo *get_ai __P((const struct addrinfo *,
- const struct afd *, const char *));
+static int explore_fqdn(const struct addrinfo *, const char *,
+ const char *, struct addrinfo **);
+static int explore_null(const struct addrinfo *,
+ const char *, struct addrinfo **);
+static int explore_numeric(const struct addrinfo *, const char *,
+ const char *, struct addrinfo **);
+static int explore_numeric_scope(const struct addrinfo *, const char *,
+ const char *, struct addrinfo **);
+static int get_canonname(const struct addrinfo *,
+ struct addrinfo *, const char *);
+static struct addrinfo *get_ai(const struct addrinfo *,
+ const struct afd *, const char *);
static int get_portmatch(const struct addrinfo *, const char *);
static int get_port(struct addrinfo *, const char *, int);
static const struct afd *find_afd(int);
@@ -225,23 +225,21 @@ static int ip6_str2scopeid(char *, struct sockaddr_in6 *);
static void _sethtent(void);
static void _endhtent(void);
static struct addrinfo * _gethtent(const char *, const struct addrinfo *);
-static struct addrinfo *_files_getaddrinfo __P((const char *,
- const struct addrinfo *));
+static struct addrinfo *_files_getaddrinfo(const char *,
+ const struct addrinfo *);
#ifdef YP
static struct addrinfo *_yphostent(char *, const struct addrinfo *);
-static struct addrinfo *_yp_getaddrinfo __P((const char *,
- const struct addrinfo *));
+static struct addrinfo *_yp_getaddrinfo(const char *,
+ const struct addrinfo *);
#endif
-static struct addrinfo *getanswer __P((const querybuf *, int, const char *, int,
- const struct addrinfo *));
+static struct addrinfo *getanswer(const querybuf *, int, const char *, int,
+ const struct addrinfo *);
static int res_queryN(const char *, struct res_target *);
static int res_searchN(const char *, struct res_target *);
-static int res_querydomainN __P((const char *, const char *,
- struct res_target *));
-static struct addrinfo *_dns_getaddrinfo __P((const char *,
- const struct addrinfo *));
+static int res_querydomainN(const char *, const char *, struct res_target *);
+static struct addrinfo *_dns_getaddrinfo(const char *, const struct addrinfo *);
/* XXX macros that make external reference is BAD. */
diff --git a/lib/libc/net/gethostnamadr.c b/lib/libc/net/gethostnamadr.c
index d4e3c5e6f00..9061caf0c23 100644
--- a/lib/libc/net/gethostnamadr.c
+++ b/lib/libc/net/gethostnamadr.c
@@ -52,7 +52,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.44 2002/02/16 21:27:23 millert Exp $";
+static char rcsid[] = "$OpenBSD: gethostnamadr.c,v 1.45 2002/02/17 19:42:23 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -126,8 +126,7 @@ typedef union {
char ac;
} align;
-static struct hostent *getanswer __P((const querybuf *, int, const char *,
- int));
+static struct hostent *getanswer(const querybuf *, int, const char *, int);
extern int h_errno;
diff --git a/lib/libc/net/getnameinfo.c b/lib/libc/net/getnameinfo.c
index c19603f2d17..15dc9dcdea2 100644
--- a/lib/libc/net/getnameinfo.c
+++ b/lib/libc/net/getnameinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getnameinfo.c,v 1.22 2002/02/16 21:27:23 millert Exp $ */
+/* $OpenBSD: getnameinfo.c,v 1.23 2002/02/17 19:42:23 millert Exp $ */
/* $KAME: getnameinfo.c,v 1.45 2000/09/25 22:43:56 itojun Exp $ */
/*
@@ -81,8 +81,8 @@ struct sockinet {
};
#ifdef INET6
-static int ip6_parsenumeric __P((const struct sockaddr *, const char *, char *,
- size_t, int));
+static int ip6_parsenumeric(const struct sockaddr *, const char *, char *,
+ size_t, int);
static int ip6_sa2str(const struct sockaddr_in6 *, char *, size_t, int);
#endif
diff --git a/lib/libc/net/inet_net_ntop.c b/lib/libc/net/inet_net_ntop.c
index 943ec44550f..f5cb588d107 100644
--- a/lib/libc/net/inet_net_ntop.c
+++ b/lib/libc/net/inet_net_ntop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet_net_ntop.c,v 1.1 1997/03/13 19:07:30 downsj Exp $ */
+/* $OpenBSD: inet_net_ntop.c,v 1.2 2002/02/17 19:42:23 millert Exp $ */
/*
* Copyright (c) 1996 by Internet Software Consortium.
@@ -21,7 +21,7 @@
#if 0
static const char rcsid[] = "$From: inet_net_ntop.c,v 8.2 1996/08/08 06:54:44 vixie Exp $";
#else
-static const char rcsid[] = "$OpenBSD: inet_net_ntop.c,v 1.1 1997/03/13 19:07:30 downsj Exp $";
+static const char rcsid[] = "$OpenBSD: inet_net_ntop.c,v 1.2 2002/02/17 19:42:23 millert Exp $";
#endif
#endif
@@ -35,8 +35,7 @@ static const char rcsid[] = "$OpenBSD: inet_net_ntop.c,v 1.1 1997/03/13 19:07:30
#include <string.h>
#include <stdlib.h>
-static char * inet_net_ntop_ipv4 __P((const u_char *src, int bits,
- char *dst, size_t size));
+static char *inet_net_ntop_ipv4(const u_char *, int, char *, size_t);
/*
* char *
diff --git a/lib/libc/net/inet_net_pton.c b/lib/libc/net/inet_net_pton.c
index b529e836645..932531eb5d1 100644
--- a/lib/libc/net/inet_net_pton.c
+++ b/lib/libc/net/inet_net_pton.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet_net_pton.c,v 1.1 1997/03/13 19:07:30 downsj Exp $ */
+/* $OpenBSD: inet_net_pton.c,v 1.2 2002/02/17 19:42:23 millert Exp $ */
/*
* Copyright (c) 1996 by Internet Software Consortium.
@@ -21,7 +21,7 @@
#if 0
static const char rcsid[] = "$From: inet_net_pton.c,v 8.3 1996/11/11 06:36:52 vixie Exp $";
#else
-static const char rcsid[] = "$OpenBSD: inet_net_pton.c,v 1.1 1997/03/13 19:07:30 downsj Exp $";
+static const char rcsid[] = "$OpenBSD: inet_net_pton.c,v 1.2 2002/02/17 19:42:23 millert Exp $";
#endif
#endif
@@ -37,8 +37,7 @@ static const char rcsid[] = "$OpenBSD: inet_net_pton.c,v 1.1 1997/03/13 19:07:30
#include <string.h>
#include <stdlib.h>
-static int inet_net_pton_ipv4 __P((const char *src, u_char *dst,
- size_t size));
+static int inet_net_pton_ipv4(const char *, u_char *, size_t);
/*
* static int
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c
index 95d481a7f64..143b667ba8e 100644
--- a/lib/libc/net/rcmd.c
+++ b/lib/libc/net/rcmd.c
@@ -34,7 +34,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: rcmd.c,v 1.40 2002/02/16 21:27:23 millert Exp $";
+static char *rcsid = "$OpenBSD: rcmd.c,v 1.41 2002/02/17 19:42:23 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -58,8 +58,8 @@ static char *rcsid = "$OpenBSD: rcmd.c,v 1.40 2002/02/16 21:27:23 millert Exp $"
#include <netgroup.h>
int __ivaliduser(FILE *, in_addr_t, const char *, const char *);
-int __ivaliduser_sa __P((FILE *, struct sockaddr *, socklen_t,
- const char *, const char *));
+int __ivaliduser_sa(FILE *, struct sockaddr *, socklen_t,
+ const char *, const char *);
static int __icheckhost(struct sockaddr *, socklen_t, const char *);
static char *__gethostloop(struct sockaddr *, socklen_t);
diff --git a/lib/libc/net/res_comp.c b/lib/libc/net/res_comp.c
index f7a0358967e..948923cf37d 100644
--- a/lib/libc/net/res_comp.c
+++ b/lib/libc/net/res_comp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_comp.c,v 1.8 1997/07/09 01:08:49 millert Exp $ */
+/* $OpenBSD: res_comp.c,v 1.9 2002/02/17 19:42:23 millert Exp $ */
/*
* ++Copyright++ 1985, 1993
@@ -60,7 +60,7 @@
static char sccsid[] = "@(#)res_comp.c 8.1 (Berkeley) 6/4/93";
static char rcsid[] = "$From: res_comp.c,v 8.11 1996/12/02 09:17:22 vixie Exp $";
#else
-static char rcsid[] = "$OpenBSD: res_comp.c,v 1.8 1997/07/09 01:08:49 millert Exp $";
+static char rcsid[] = "$OpenBSD: res_comp.c,v 1.9 2002/02/17 19:42:23 millert Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -76,8 +76,7 @@ static char rcsid[] = "$OpenBSD: res_comp.c,v 1.8 1997/07/09 01:08:49 millert Ex
#include <unistd.h>
#include <string.h>
-static int dn_find __P((u_char *exp_dn, u_char *msg,
- u_char **dnptrs, u_char **lastdnptr));
+static int dn_find(u_char *, u_char *, u_char **, u_char **);
/*
* Expand compressed domain name 'comp_dn' to full domain name.
diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h
index 8efe61030ef..70d5c564471 100644
--- a/lib/libc/stdio/local.h
+++ b/lib/libc/stdio/local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: local.h,v 1.3 2002/02/16 21:27:24 millert Exp $ */
+/* $OpenBSD: local.h,v 1.4 2002/02/17 19:42:23 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -53,7 +53,7 @@ void _cleanup(void);
void (*__cleanup)(void);
void __smakebuf(FILE *);
int __swhatbuf(FILE *, size_t *, int *);
-int _fwalk __P((int (*)(FILE *)));
+int _fwalk(int (*)(FILE *));
int __swsetup(FILE *);
int __sflags(const char *, int *);
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 086547819ea..326a6e92746 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: vfprintf.c,v 1.15 2002/02/16 21:27:24 millert Exp $";
+static char *rcsid = "$OpenBSD: vfprintf.c,v 1.16 2002/02/17 19:42:24 millert Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -60,10 +60,8 @@ static char *rcsid = "$OpenBSD: vfprintf.c,v 1.15 2002/02/16 21:27:24 millert Ex
#include "local.h"
#include "fvwrite.h"
-static void __find_arguments __P((const char *fmt0, va_list ap,
- va_list **argtable));
-static int __grow_type_table __P((unsigned char **typetable,
- int *tablesize));
+static void __find_arguments(const char *fmt0, va_list ap, va_list **argtable);
+static int __grow_type_table(unsigned char **typetable, int *tablesize);
/*
* Flush out all the vectors defined by the given uio,
diff --git a/lib/libc/stdlib/merge.c b/lib/libc/stdlib/merge.c
index 345eb2fd8ba..4ae6488af23 100644
--- a/lib/libc/stdlib/merge.c
+++ b/lib/libc/stdlib/merge.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: merge.c,v 1.4 2002/02/16 21:27:24 millert Exp $";
+static char *rcsid = "$OpenBSD: merge.c,v 1.5 2002/02/17 19:42:24 millert Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -58,8 +58,8 @@ static char *rcsid = "$OpenBSD: merge.c,v 1.4 2002/02/16 21:27:24 millert Exp $"
#include <stdlib.h>
#include <string.h>
-static void setup __P((u_char *, u_char *, size_t, size_t, int (*)()));
-static void insertionsort __P((u_char *, size_t, size_t, int (*)()));
+static void setup(u_char *, u_char *, size_t, size_t, int (*)());
+static void insertionsort(u_char *, size_t, size_t, int (*)());
#define ISIZE sizeof(int)
#define PSIZE sizeof(u_char *)
diff --git a/lib/libc/stdlib/qsort.c b/lib/libc/stdlib/qsort.c
index d16ed7b0bd7..9b8bb5801ba 100644
--- a/lib/libc/stdlib/qsort.c
+++ b/lib/libc/stdlib/qsort.c
@@ -32,13 +32,13 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: qsort.c,v 1.6 2002/02/16 21:27:24 millert Exp $";
+static char *rcsid = "$OpenBSD: qsort.c,v 1.7 2002/02/17 19:42:24 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <stdlib.h>
-static __inline char *med3 __P((char *, char *, char *, int (*)()));
+static __inline char *med3(char *, char *, char *, int (*)());
static __inline void swapfunc(char *, char *, int, int);
#define min(a, b) (a) < (b) ? a : b
diff --git a/lib/libc/stdlib/radixsort.c b/lib/libc/stdlib/radixsort.c
index 40d7c0789f6..e03b4797153 100644
--- a/lib/libc/stdlib/radixsort.c
+++ b/lib/libc/stdlib/radixsort.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: radixsort.c,v 1.4 2002/02/16 21:27:24 millert Exp $";
+static char *rcsid = "$OpenBSD: radixsort.c,v 1.5 2002/02/17 19:42:24 millert Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -63,8 +63,8 @@ typedef struct {
static __inline void simplesort
(const u_char **, int, int, const u_char *, u_int);
static void r_sort_a(const u_char **, int, int, const u_char *, u_int);
-static void r_sort_b __P((const u_char **,
- const u_char **, int, int, const u_char *, u_int));
+static void r_sort_b(const u_char **,
+ const u_char **, int, int, const u_char *, u_int);
#define THRESHOLD 20 /* Divert to simplesort(). */
#define SIZE 512 /* Default stack size. */
diff --git a/lib/libc/yp/ypinternal.h b/lib/libc/yp/ypinternal.h
index eb842d71935..ee6cecd25b7 100644
--- a/lib/libc/yp/ypinternal.h
+++ b/lib/libc/yp/ypinternal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypinternal.h,v 1.3 2002/02/16 21:27:25 millert Exp $ */
+/* $OpenBSD: ypinternal.h,v 1.4 2002/02/17 19:42:24 millert Exp $ */
/*
* Copyright (c) 1992, 1993, 1996 Theo de Raadt <deraadt@theos.com>
@@ -61,10 +61,8 @@ int _yp_check(char **);
#ifdef YPMATCHCACHE
-static bool_t ypmatch_add __P((const char *, const char *,
- u_int, char *, u_int));
-static bool_t ypmatch_find __P((const char *, const char *,
- u_int, char **, u_int *));
+static bool_t ypmatch_add(const char *, const char *, u_int, char *, u_int);
+static bool_t ypmatch_find(const char *, const char *, u_int, char **, u_int *);
static struct ypmatch_ent {
struct ypmatch_ent *next;