diff options
author | charnier <charnier@FreeBSD.org> | 1997-10-13 11:22:39 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-10-13 11:22:39 +0000 |
commit | 8459f389a168bc4c5109f83e755a73813f58b8bb (patch) | |
tree | 34d312378554ef5de4d8763fd35100eb424ff996 /usr.sbin/rpc.ypupdated/update.c | |
parent | 67de6ed0a2d20541b0f95abf9e5e36e1b8d32de4 (diff) | |
download | FreeBSD-src-8459f389a168bc4c5109f83e755a73813f58b8bb.zip FreeBSD-src-8459f389a168bc4c5109f83e755a73813f58b8bb.tar.gz |
Use err(3). Remove multiply defined Id string.
Diffstat (limited to 'usr.sbin/rpc.ypupdated/update.c')
-rw-r--r-- | usr.sbin/rpc.ypupdated/update.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/usr.sbin/rpc.ypupdated/update.c b/usr.sbin/rpc.ypupdated/update.c index d6e142f..5b11d83 100644 --- a/usr.sbin/rpc.ypupdated/update.c +++ b/usr.sbin/rpc.ypupdated/update.c @@ -27,9 +27,14 @@ * 2550 Garcia Avenue * Mountain View, California 94043 */ + #ifndef lint +#if 0 static char sccsid[] = "@(#)update.c 1.2 91/03/11 Copyr 1986 Sun Micro"; #endif +static const char rcsid[] = + "$Id$"; +#endif /* not lint */ /* * Copyright (C) 1986, 1989, Sun Microsystems, Inc. @@ -64,15 +69,7 @@ static char sccsid[] = "@(#)update.c 1.2 91/03/11 Copyr 1986 Sun Micro"; #define YPOP_STORE 4 /* add, or change */ #endif -#ifdef notdef -extern char *getpass(); -extern char *malloc(); -#endif - #ifdef YP -#ifdef notdef -static char *basename(); -#endif static char SHELL[] = "/bin/sh"; static char YPDBPATH[]="/var/yp"; /* This is defined but not used! */ static char PKMAP[] = "publickey.byname"; |