From 48dcfcdaab65b07f702d337324f16d9469ae9bcd Mon Sep 17 00:00:00 2001 From: tholo Date: Mon, 25 Mar 1996 21:54:35 +0000 Subject: Pull prototypes into scope Remove graticious casts --- lib/libc/rpc/auth_unix.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/libc/rpc/auth_unix.c') diff --git a/lib/libc/rpc/auth_unix.c b/lib/libc/rpc/auth_unix.c index 1310d997ebe..263635e5569 100644 --- a/lib/libc/rpc/auth_unix.c +++ b/lib/libc/rpc/auth_unix.c @@ -49,6 +49,7 @@ static char *rcsid = "$NetBSD: auth_unix.c,v 1.2 1995/02/25 03:01:35 cgd Exp $"; #include #include +#include #include #include @@ -84,7 +85,7 @@ struct audata { }; #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) -static bool_t marshal_new_auth(); +static void marshal_new_auth(); /* @@ -174,9 +175,9 @@ authunix_create_default() { register int len; char machname[MAX_MACHINE_NAME + 1]; - register int uid; - register int gid; - int gids[NGRPS]; + register uid_t uid; + register gid_t gid; + gid_t gids[NGRPS]; if (gethostname(machname, MAX_MACHINE_NAME) == -1) abort(); @@ -305,7 +306,7 @@ authunix_destroy(auth) * Marshals (pre-serializes) an auth struct. * sets private data, au_marshed and au_mpos */ -static bool_t +static void marshal_new_auth(auth) register AUTH *auth; { -- cgit v1.2.3-59-g8ed1b