Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin More K&R style prototypes missed in the previous run



details:   https://anonhg.NetBSD.org/src/rev/6e97b1e0c083
branches:  trunk
changeset: 829254:6e97b1e0c083
user:      sevan <sevan%NetBSD.org@localhost>
date:      Tue Jan 23 21:27:20 2018 +0000

description:
More K&R style prototypes missed in the previous run

diffstat:

 usr.sbin/faithd/prefix.h     |  10 +++++-----
 usr.sbin/rpc.pcnfsd/pcnfsd.x |   6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r 04b7fc6e38a0 -r 6e97b1e0c083 usr.sbin/faithd/prefix.h
--- a/usr.sbin/faithd/prefix.h  Tue Jan 23 21:06:24 2018 +0000
+++ b/usr.sbin/faithd/prefix.h  Tue Jan 23 21:27:20 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: prefix.h,v 1.2 2002/05/09 14:24:03 itojun Exp $        */
+/*     $NetBSD: prefix.h,v 1.3 2018/01/23 21:27:20 sevan Exp $ */
 /*     $KAME: prefix.h,v 1.4 2001/09/05 03:04:21 itojun Exp $  */
 
 /*
@@ -46,7 +46,7 @@
 
 #define _PATH_PREFIX_CONF      "/etc/faithd.conf"
 
-extern const char *prefix_string __P((const struct prefix *));
-extern int prefix_match __P((const struct prefix *, const struct sockaddr *));
-extern int config_load __P((const char *));
-extern const struct config *config_match __P((struct sockaddr *, struct sockaddr *));
+extern const char *prefix_string(const struct prefix *);
+extern int prefix_match(const struct prefix *, const struct sockaddr *);
+extern int config_load(const char *);
+extern const struct config *config_match(struct sockaddr *, struct sockaddr *);
diff -r 04b7fc6e38a0 -r 6e97b1e0c083 usr.sbin/rpc.pcnfsd/pcnfsd.x
--- a/usr.sbin/rpc.pcnfsd/pcnfsd.x      Tue Jan 23 21:06:24 2018 +0000
+++ b/usr.sbin/rpc.pcnfsd/pcnfsd.x      Tue Jan 23 21:27:20 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcnfsd.x,v 1.6 2009/04/18 13:02:36 lukem Exp $ */
+/*     $NetBSD: pcnfsd.x,v 1.7 2018/01/23 21:27:20 sevan Exp $ */
 
 /* The maximum number of bytes in a user name argument */
 const IDENTLEN = 32;
@@ -630,11 +630,11 @@
 ** The following forces a publically-visible msg_out()
 */
 %#if RPC_SVC
-% static void _msgout __P((const char *));
+% static void _msgout(const char *);
 % void msg_out(msg) const char *msg; {_msgout(msg);}
 %#endif
 %#if RPC_HDR
-% extern void msg_out __P((const char *));
+% extern void msg_out(const char *);
 %#endif
 
 /*



Home | Main Index | Thread Index | Old Index