From 61c4d68781f71d40760f37735bc161f8b81e19cd Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Fri, 6 Jun 1997 15:47:57 +0000 Subject: [PATCH] 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 --- usr.sbin/rpc.ypupdated/update.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr.sbin/rpc.ypupdated/update.c b/usr.sbin/rpc.ypupdated/update.c index c7b4e60ceec5..d6e142f5063f 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";