summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.ypupdated/update.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-10-13 11:22:39 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-10-13 11:22:39 +0000
commit1e96bb57a67cf7296e06e4e57554c017e3c9948c (patch)
tree3621fe089961c75ca021c90ab83ffb3af34762e9 /usr.sbin/rpc.ypupdated/update.c
parentfdd839012ab75c61be4a00034d4f87f913525b66 (diff)
Notes
Diffstat (limited to 'usr.sbin/rpc.ypupdated/update.c')
-rw-r--r--usr.sbin/rpc.ypupdated/update.c13
1 files changed, 5 insertions, 8 deletions
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";