diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /usr.sbin/ypserv/common | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff) |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.sbin/ypserv/common')
-rw-r--r-- | usr.sbin/ypserv/common/ypdb.h | 18 | ||||
-rw-r--r-- | usr.sbin/ypserv/common/yplib_host.h | 4 | ||||
-rw-r--r-- | usr.sbin/ypserv/common/yplog.h | 10 |
3 files changed, 16 insertions, 16 deletions
diff --git a/usr.sbin/ypserv/common/ypdb.h b/usr.sbin/ypserv/common/ypdb.h index 80aac6ce77b..d3a74f7bdc7 100644 --- a/usr.sbin/ypserv/common/ypdb.h +++ b/usr.sbin/ypserv/common/ypdb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ypdb.h,v 1.5 1997/02/09 09:49:37 maja Exp $ */ +/* $OpenBSD: ypdb.h,v 1.6 2002/02/16 21:28:11 millert Exp $ */ /* * Copyright (c) 1990, 1993 @@ -64,14 +64,14 @@ typedef struct { typedef DB DBM; __BEGIN_DECLS -void ypdb_close __P((DBM *)); -datum ypdb_fetch __P((DBM *, datum)); -datum ypdb_firstkey __P((DBM *)); -datum ypdb_nextkey __P((DBM *)); -datum ypdb_setkey __P((DBM *, datum)); -DBM *ypdb_open __P((const char *, int, int)); -DBM *ypdb_open_suf __P((const char *, int, int)); -int ypdb_store __P((DBM *, datum, datum, int)); +void ypdb_close(DBM *); +datum ypdb_fetch(DBM *, datum); +datum ypdb_firstkey(DBM *); +datum ypdb_nextkey(DBM *); +datum ypdb_setkey(DBM *, datum); +DBM *ypdb_open(const char *, int, int); +DBM *ypdb_open_suf(const char *, int, int); +int ypdb_store(DBM *, datum, datum, int); __END_DECLS #endif /* !_YPDB_H_ */ diff --git a/usr.sbin/ypserv/common/yplib_host.h b/usr.sbin/ypserv/common/yplib_host.h index 814315d79c1..caa88ae235f 100644 --- a/usr.sbin/ypserv/common/yplib_host.h +++ b/usr.sbin/ypserv/common/yplib_host.h @@ -1,4 +1,4 @@ -/* $OpenBSD: yplib_host.h,v 1.4 1997/05/01 22:14:45 niklas Exp $ */ +/* $OpenBSD: yplib_host.h,v 1.5 2002/02/16 21:28:11 millert Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> @@ -51,7 +51,7 @@ int yp_all_host __P((CLIENT *client, char *indomain, char *inmap, struct ypall_callback *incallback)); int yp_maplist_host __P((CLIENT *client, char *indomain, struct ypmaplist **outmaplist)); -CLIENT *yp_bind_local __P((u_long program, u_long version)); +CLIENT *yp_bind_local(u_long program, u_long version); CLIENT *yp_bind_host __P((char *server, u_long program, u_long version, u_short port, int usetcp)); diff --git a/usr.sbin/ypserv/common/yplog.h b/usr.sbin/ypserv/common/yplog.h index 2f48494a272..0d847ad2b71 100644 --- a/usr.sbin/ypserv/common/yplog.h +++ b/usr.sbin/ypserv/common/yplog.h @@ -1,4 +1,4 @@ -/* $OpenBSD: yplog.h,v 1.3 1996/05/30 09:53:04 deraadt Exp $ */ +/* $OpenBSD: yplog.h,v 1.4 2002/02/16 21:28:11 millert Exp $ */ /* * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> @@ -33,10 +33,10 @@ #define _YPLOG_H_ __BEGIN_DECLS -void yplog __P((const char *, ...)); -void vyplog __P((const char *, _BSD_VA_LIST_)); -void ypopenlog __P((void)); -void ypcloselog __P((void)); +void yplog(const char *, ...); +void vyplog(const char *, _BSD_VA_LIST_); +void ypopenlog(void); +void ypcloselog(void); __END_DECLS #endif /* !_YPLOG_H_ */ |