mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Replace incomplete malloc prototype with #include <stdlib.h>
to get the proper one.
This commit is contained in:
parent
9c26f2aeaf
commit
a8b1e5be58
1 changed files with 2 additions and 2 deletions
|
|
@ -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 * ));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue