From 1e96bb57a67cf7296e06e4e57554c017e3c9948c Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Mon, 13 Oct 1997 11:22:39 +0000 Subject: Use err(3). Remove multiply defined Id string. --- usr.sbin/rpc.ypupdated/update.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'usr.sbin/rpc.ypupdated/update.c') diff --git a/usr.sbin/rpc.ypupdated/update.c b/usr.sbin/rpc.ypupdated/update.c index d6e142f5063f..5b11d839ccdc 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"; -- cgit v1.2.3