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
This commit is contained in:
Bill Paul 1997-06-06 15:47:57 +00:00
parent 3d9271a28a
commit 61c4d68781

View File

@ -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";