diff options
author | Ezra Peisach <epeisach@mit.edu> | 2001-02-18 22:56:00 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2001-02-18 22:56:00 +0000 |
commit | 052836e76ac8a9aa1ccd7012af20f85dc9262445 (patch) | |
tree | 16053208d49fdd5de29c9d42627155f8816db91c /src/lib/rpc/auth_unix.c | |
parent | 3d8678fbdb672fde7f1ba047d7ab40d1727f4b57 (diff) | |
download | krb5-052836e76ac8a9aa1ccd7012af20f85dc9262445.zip krb5-052836e76ac8a9aa1ccd7012af20f85dc9262445.tar.gz krb5-052836e76ac8a9aa1ccd7012af20f85dc9262445.tar.bz2 |
* xdr.h: Flush out prototypes for xdrmem_create(),
xdrstdio_create(), xdrrec_create(), xdralloc_create(),
xdralloc_release(), xdrrec_endofrecord(), xdrrec_skiprecord(),
xdrrec_eof(), xdralloc_getdata(). Add prototype for
gssrpc_xdr_fre().
* xdr.c: Argument to gssrpc_xdr_free(0 changed from char * to void
*. xdr_u_char() changed to take unsigned char * instead of char *.
* auth_unix.c: Include unistd.h and string.h for
prototypes. Declare marshal_new_auth() as static void instead of
static bool_t based on usage.
* auth.h, svc_auth.h: Provide full prototypes for a number of
functions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13010 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc/auth_unix.c')
-rw-r--r-- | src/lib/rpc/auth_unix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/rpc/auth_unix.c b/src/lib/rpc/auth_unix.c index 4e96b82..789b369 100644 --- a/src/lib/rpc/auth_unix.c +++ b/src/lib/rpc/auth_unix.c @@ -44,6 +44,8 @@ static char sccsid[] = "@(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro"; */ #include <stdio.h> +#include <unistd.h> +#include <string.h> #include <gssrpc/types.h> #include <gssrpc/xdr.h> @@ -82,7 +84,7 @@ struct audata { }; #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) -static bool_t marshal_new_auth(); +static void marshal_new_auth(); /* @@ -303,7 +305,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; { |