mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 04:43:32 +00:00
Remove local malloc prototypes, which are incorrect and conflict with
both GCC builtin and system declared ones.
This commit is contained in:
parent
e95e2344a8
commit
e96993d049
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132786
@ -49,8 +49,6 @@ static char rcsid[] =
|
||||
* Context push/pop for nested command files.
|
||||
*/
|
||||
|
||||
char *malloc();
|
||||
|
||||
cx_alloc()
|
||||
{
|
||||
register struct context *xp;
|
||||
|
@ -43,8 +43,6 @@ static char rcsid[] =
|
||||
#include <string.h> /* System string definitions. */
|
||||
#include "mystring.h" /* Local string definitions. */
|
||||
|
||||
char *malloc();
|
||||
|
||||
char *
|
||||
str_cpy(s)
|
||||
register char *s;
|
||||
|
@ -44,7 +44,6 @@ static char rcsid[] =
|
||||
|
||||
char *tgetstr();
|
||||
char *tgoto();
|
||||
char *malloc();
|
||||
|
||||
tttputc(c)
|
||||
{
|
||||
|
@ -44,8 +44,6 @@ static char rcsid[] =
|
||||
#include "var.h"
|
||||
#include "mystring.h"
|
||||
|
||||
char *malloc();
|
||||
|
||||
struct var *
|
||||
var_set1(head, name, v)
|
||||
struct var **head;
|
||||
|
Loading…
Reference in New Issue
Block a user