Source-Changes-HG archive

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

[src/trunk]: src/include/rpc const poisoning.



details:   https://anonhg.NetBSD.org/src/rev/ef804f24de09
branches:  trunk
changeset: 494407:ef804f24de09
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jul 06 03:17:19 2000 +0000

description:
const poisoning.

diffstat:

 include/rpc/nettype.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 81f8fe2f205f -r ef804f24de09 include/rpc/nettype.h
--- a/include/rpc/nettype.h     Thu Jul 06 03:16:51 2000 +0000
+++ b/include/rpc/nettype.h     Thu Jul 06 03:17:19 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nettype.h,v 1.1 2000/06/02 22:57:55 fvdl Exp $ */
+/*     $NetBSD: nettype.h,v 1.2 2000/07/06 03:17:19 christos Exp $     */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -54,10 +54,10 @@
 #define        _RPC_UDP        8
 
 __BEGIN_DECLS
-extern void *__rpc_setconf __P((char *));
+extern void *__rpc_setconf __P((const char *));
 extern void __rpc_endconf __P((void *));
 extern struct netconfig *__rpc_getconf __P((void *));
-extern struct netconfig *__rpc_getconfip __P((char *));
+extern struct netconfig *__rpc_getconfip __P((const char *));
 __END_DECLS
 
 #endif /* !_RPC_NETTYPE_H */



Home | Main Index | Thread Index | Old Index