Module Name:    src
Committed By:   christos
Date:           Sat Apr  4 15:31:08 UTC 2009

Modified Files:
        src/lib/libc/rpc: rpc_internal.h

Log Message:
PR/41138: Henning Petersen: Redundant declarations in rpc_internal.h
While here remove __P, KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/rpc/rpc_internal.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/rpc/rpc_internal.h
diff -u src/lib/libc/rpc/rpc_internal.h:1.5 src/lib/libc/rpc/rpc_internal.h:1.6
--- src/lib/libc/rpc/rpc_internal.h:1.5	Mon Apr 28 16:23:00 2008
+++ src/lib/libc/rpc/rpc_internal.h	Sat Apr  4 11:31:08 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rpc_internal.h,v 1.5 2008/04/28 20:23:00 martin Exp $	*/
+/*	$NetBSD: rpc_internal.h,v 1.6 2009/04/04 15:31:08 christos Exp $	*/
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -33,36 +33,32 @@
  * These are not exported interfaces.
  */
 
-bool_t __xdrrec_getrec __P((XDR *, enum xprt_stat *, bool_t));
-bool_t __xdrrec_setnonblock __P((XDR *, int));
-void __xprt_unregister_unlocked __P((SVCXPRT *));
-bool_t __svc_clean_idle __P((fd_set *, int, bool_t));
-
-bool_t __xdrrec_getrec __P((XDR *, enum xprt_stat *, bool_t));
-bool_t __xdrrec_setnonblock __P((XDR *, int));
-
-u_int __rpc_get_a_size __P((int));
-int __rpc_dtbsize __P((void));
-struct netconfig * __rpcgettp __P((int));
-int  __rpc_get_default_domain __P((char **));
-
-char *__rpc_taddr2uaddr_af __P((int, const struct netbuf *));
-struct netbuf *__rpc_uaddr2taddr_af __P((int, const char *));
-int __rpc_fixup_addr __P((struct netbuf *, const struct netbuf *));
-int __rpc_sockinfo2netid __P((struct __rpc_sockinfo *, const char **));
-int __rpc_seman2socktype __P((int));
-int __rpc_socktype2seman __P((int));
-void *rpc_nullproc __P((CLIENT *));
-int __rpc_sockisbound __P((int));
-
-struct netbuf *__rpcb_findaddr __P((rpcprog_t, rpcvers_t,
-				    const struct netconfig *,
-				    const char *, CLIENT **));
-bool_t __rpc_control __P((int,void *));
+bool_t __xdrrec_getrec(XDR *, enum xprt_stat *, bool_t);
+bool_t __xdrrec_setnonblock(XDR *, int);
+void __xprt_unregister_unlocked(SVCXPRT *);
+bool_t __svc_clean_idle(fd_set *, int, bool_t);
+
+u_int __rpc_get_a_size(int);
+int __rpc_dtbsize(void);
+struct netconfig *__rpcgettp(int);
+int  __rpc_get_default_domain(char **);
+
+char *__rpc_taddr2uaddr_af(int, const struct netbuf *);
+struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
+int __rpc_fixup_addr(struct netbuf *, const struct netbuf *);
+int __rpc_sockinfo2netid(struct __rpc_sockinfo *, const char **);
+int __rpc_seman2socktype(int);
+int __rpc_socktype2seman(int);
+void *rpc_nullproc(CLIENT *);
+int __rpc_sockisbound(int);
+
+struct netbuf *__rpcb_findaddr(rpcprog_t, rpcvers_t, const struct netconfig *,
+    const char *, CLIENT **);
+bool_t __rpc_control(int, void *);
 
-char *_get_next_token __P((char *, int));
+char *_get_next_token(char *, int);
 
-u_int32_t __rpc_getxid __P((void));
+u_int32_t __rpc_getxid(void);
 #define __RPC_GETXID()	(__rpc_getxid())
 
 extern SVCXPRT **__svc_xports;

Reply via email to