Remove local malloc prototypes, which are incorrect and conflict with

both GCC builtin and system declared ones.
This commit is contained in:
Alexander Kabaev 2004-07-28 07:12:30 +00:00
parent e95e2344a8
commit e96993d049
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132786
4 changed files with 0 additions and 7 deletions

View file

@ -49,8 +49,6 @@ static char rcsid[] =
* Context push/pop for nested command files.
*/
char *malloc();
cx_alloc()
{
register struct context *xp;

View file

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

View file

@ -44,7 +44,6 @@ static char rcsid[] =
char *tgetstr();
char *tgoto();
char *malloc();
tttputc(c)
{

View file

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