summaryrefslogtreecommitdiffstats
path: root/usr.bin/newkey/update.c
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-02-20 04:38:20 +0000
committerjb <jb@FreeBSD.org>1998-02-20 04:38:20 +0000
commit6d9d1ccd14b323b811a9cbd52a4492e9a7b37fe6 (patch)
tree36c894d88ccb2f2e53b36126923d5bf2c259d9a6 /usr.bin/newkey/update.c
parent51f6e49462db2424ae2e779e0d4a7baa68262bde (diff)
downloadFreeBSD-src-6d9d1ccd14b323b811a9cbd52a4492e9a7b37fe6.zip
FreeBSD-src-6d9d1ccd14b323b811a9cbd52a4492e9a7b37fe6.tar.gz
Replace incomplete malloc prototype with #include <stdlib.h>
to get the proper one.
Diffstat (limited to 'usr.bin/newkey/update.c')
-rw-r--r--usr.bin/newkey/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/newkey/update.c b/usr.bin/newkey/update.c
index c6b663d..1c33bcb 100644
--- a/usr.bin/newkey/update.c
+++ b/usr.bin/newkey/update.c
@@ -32,7 +32,7 @@
static char sccsid[] = "@(#)update.c 1.2 91/03/11 Copyr 1986 Sun Micro";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: update.c,v 1.2 1997/07/29 06:54:16 charnier Exp $";
#endif
/*
@@ -43,6 +43,7 @@ static const char rcsid[] =
* Administrative tool to add a new user to the publickey database
*/
#include <stdio.h>
+#include <stdlib.h>
#include <rpc/rpc.h>
#include <rpc/key_prot.h>
#ifdef YP
@@ -241,7 +242,6 @@ basename(path)
#define ERR_WRITE 4
#define ERR_DBASE 5
#define ERR_KEY 6
-extern char *malloc();
static int match __P(( char * , char * ));
OpenPOWER on IntegriCloud