summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/auth_unix.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-10-22 14:51:39 +0000
committerphk <phk@FreeBSD.org>1995-10-22 14:51:39 +0000
commit107ef321d3cc17d146d3ea2ef8e38b5964096061 (patch)
treeea1d3fd2095891edf59c3a99e95f068aa3dcb632 /lib/libc/rpc/auth_unix.c
parent073a1e809a6b1c9546fce476af76b5ab77e46ce6 (diff)
downloadFreeBSD-src-107ef321d3cc17d146d3ea2ef8e38b5964096061.zip
FreeBSD-src-107ef321d3cc17d146d3ea2ef8e38b5964096061.tar.gz
Well, cvs commit core'ed on me, I belive I have got all the locks out,
but a commit mail got lost, it's the same as for this commit: lib/libc/gen confstr.c crypt.c disklabel.c fstab.c getcap.c getgrent.c getgrouplist.c getpass.c getpwent.c initgroups.c nlist.c psignal.c pwcache.c setmode.c sleep.c sysconf.c sysctl.c syslog.c usleep.c lib/libc/locale none.c read_runemagi.c setlocale.c lib/libc/net gethostbydns.c getnetbydns.c getnetbynis.c lib/libc/nls msgcat.c lib/libc/quad Makefile.inc lib/libc/regex engine.c regcomp.c regerror.c Minor cleanup, mostly unused vars and missing #includes. Limit the number of quad functions we pull in for 'i386'. I still belive the quad stuff should go back into gcc. Add compile-time warnings about crypt functions.
Diffstat (limited to 'lib/libc/rpc/auth_unix.c')
-rw-r--r--lib/libc/rpc/auth_unix.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/rpc/auth_unix.c b/lib/libc/rpc/auth_unix.c
index ed374ca..b63b959 100644
--- a/lib/libc/rpc/auth_unix.c
+++ b/lib/libc/rpc/auth_unix.c
@@ -30,7 +30,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro";*/
/*static char *sccsid = "from: @(#)auth_unix.c 2.2 88/08/01 4.0 RPCSRC";*/
-static char *rcsid = "$Id: auth_unix.c,v 1.3 1995/03/18 17:55:03 ache Exp $";
+static char *rcsid = "$Id: auth_unix.c,v 1.4 1995/05/30 05:41:12 rgrimes Exp $";
#endif
/*
@@ -47,6 +47,8 @@ static char *rcsid = "$Id: auth_unix.c,v 1.3 1995/03/18 17:55:03 ache Exp $";
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
+#include <string.h>
#include <sys/param.h>
#include <rpc/types.h>
@@ -83,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();
/*
* This goop is here because some servers refuse to accept a
@@ -92,7 +94,7 @@ static bool_t marshal_new_auth();
*/
static int authunix_maxgrouplist = 0;
-int
+void
set_rpc_maxgrouplist(int num)
{
authunix_maxgrouplist = num;
@@ -328,7 +330,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;
{
OpenPOWER on IntegriCloud