diff options
author | John Birrell <jb@FreeBSD.org> | 1998-02-20 04:38:20 +0000 |
---|---|---|
committer | John Birrell <jb@FreeBSD.org> | 1998-02-20 04:38:20 +0000 |
commit | a8b1e5be582ec0cc5957d5a29bdbd8261f919405 (patch) | |
tree | 7cce8ef0be167b5128274fa8392e0f023d97ccc6 /usr.bin/newkey | |
parent | 9c26f2aeaf2eca32d52d0dad0bfa920c682820d4 (diff) | |
download | src-test-a8b1e5be582ec0cc5957d5a29bdbd8261f919405.tar.gz src-test-a8b1e5be582ec0cc5957d5a29bdbd8261f919405.zip |
Replace incomplete malloc prototype with #include <stdlib.h>
to get the proper one.
Notes
Notes:
svn path=/head/; revision=33647
Diffstat (limited to 'usr.bin/newkey')
-rw-r--r-- | usr.bin/newkey/update.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/newkey/update.c b/usr.bin/newkey/update.c index c6b663d84bb51..1c33bcbb37166 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 * )); |