summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.ypupdated
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1997-06-06 15:47:57 +0000
committerwpaul <wpaul@FreeBSD.org>1997-06-06 15:47:57 +0000
commit0f5feb168980de55afb814f20c7f8b4160d554f6 (patch)
treeaa1d027cd1d34f454b0956b565b58bd78256a79f /usr.sbin/rpc.ypupdated
parenta6fa42743dc6178534e3c37c5082f0d7ffcbbc4e (diff)
downloadFreeBSD-src-0f5feb168980de55afb814f20c7f8b4160d554f6.zip
FreeBSD-src-0f5feb168980de55afb814f20c7f8b4160d554f6.tar.gz
Clobber unneeded prototypes; in particular, the redeclaration of malloc()
will break compilation if DESTDIR is not set. The update.c module is actually from the Sun RPC distribution so this is really their bogon, but I should have noticed it when I integrated the code into rpc.ypupdated. Sung to me by: Satoshi
Diffstat (limited to 'usr.sbin/rpc.ypupdated')
-rw-r--r--usr.sbin/rpc.ypupdated/update.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/rpc.ypupdated/update.c b/usr.sbin/rpc.ypupdated/update.c
index c7b4e60..d6e142f 100644
--- a/usr.sbin/rpc.ypupdated/update.c
+++ b/usr.sbin/rpc.ypupdated/update.c
@@ -64,11 +64,15 @@ 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";
OpenPOWER on IntegriCloud