summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-04 11:34:25 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-04 11:34:25 +0000
commit42bbf93304f6f91efa01d7e0222bbdfc6255098a (patch)
tree4386b2f4469cf48443f48ace1b9560cbb8184758 /sunrpc
parent2e9b8d76084ff062d037c322905c81cb157fbce6 (diff)
downloadglibc-42bbf93304f6f91efa01d7e0222bbdfc6255098a.tar.gz
More prototype cleanups.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/rpc/auth.h4
-rw-r--r--sunrpc/rpc/xdr.h5
2 files changed, 6 insertions, 3 deletions
diff --git a/sunrpc/rpc/auth.h b/sunrpc/rpc/auth.h
index 5ce54ae5ee..deb7ef6649 100644
--- a/sunrpc/rpc/auth.h
+++ b/sunrpc/rpc/auth.h
@@ -163,7 +163,9 @@ extern AUTH *authunix_create __P ((char *__machname, __uid_t __uid,
__gid_t *__aup_gids));
extern AUTH *authunix_create_default __P ((void));
extern AUTH *authnone_create __P ((void));
-extern AUTH *authdes_create();
+extern AUTH *authdes_create __P ((const char *__servername, u_int __window,
+ struct sockaddr *__syncaddr,
+ des_block *__ckey));
#define AUTH_NONE 0 /* no authentication */
#define AUTH_NULL 0 /* backward compatibility */
diff --git a/sunrpc/rpc/xdr.h b/sunrpc/rpc/xdr.h
index cfc62a19fe..f2226a7494 100644
--- a/sunrpc/rpc/xdr.h
+++ b/sunrpc/rpc/xdr.h
@@ -243,7 +243,7 @@ struct xdr_discrim {
/*
* These are the "generic" xdr routines.
*/
-extern bool_t xdr_void ();
+extern bool_t xdr_void __P ((void));
extern bool_t xdr_int __P ((XDR *__xdrs, int *__ip));
extern bool_t xdr_u_int __P ((XDR *__xdrs, u_int *__up));
extern bool_t xdr_long __P ((XDR *__xdrs, long *__lp));
@@ -302,7 +302,8 @@ extern void xdrstdio_create __P ((XDR *__xdrs, FILE *__file,
/* XDR pseudo records for tcp */
extern void xdrrec_create __P ((XDR *__xdrs, u_int __sendsize,
u_int __recvsize, caddr_t __tcp_handle,
- int (*__readit) (), int (*__writeit) ()));
+ int (*__readit) (char *, char *, int),
+ int (*__writeit) (char *, char *, int)));
/* make end of xdr record */
extern bool_t xdrrec_endofrecord __P ((XDR *__xdrs, bool_t __sendnow));