Removed inconsistent declaration of malloc(). `make world' with DESTDIR
set to something other than "/" now actually works.
This commit is contained in:
parent
b071c689de
commit
f4c1975c26
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25103
@ -70,7 +70,6 @@ int lineno; /* Current input line */
|
||||
int mark; /* Last place we saw a head line */
|
||||
int center;
|
||||
|
||||
char *malloc(); /* for lint . . . */
|
||||
char *headnames[] = {"To", "Subject", "Cc", 0};
|
||||
|
||||
/*
|
||||
|
@ -342,7 +342,7 @@ char *
|
||||
save(s)
|
||||
char *s;
|
||||
{
|
||||
char *p, *strcpy(), *malloc();
|
||||
char *p, *strcpy();
|
||||
|
||||
p = malloc((u_int)strlen(s)+1);
|
||||
if (p == NULL)
|
||||
|
@ -42,7 +42,7 @@ static char const copyright[] =
|
||||
|
||||
#ifndef lint
|
||||
static char const sccsid[] = "@(#)from: arp.c 8.2 (Berkeley) 1/2/94";
|
||||
static char const freebsdid[] = "$Id: arp.c,v 1.9 1997/02/22 16:04:19 peter Exp $";
|
||||
static char const freebsdid[] = "$Id: arp.c,v 1.10 1997/03/31 05:09:46 imp Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -380,7 +380,7 @@ dump(u_long addr)
|
||||
{
|
||||
int mib[6];
|
||||
size_t needed;
|
||||
char *host, *malloc(), *lim, *buf, *next;
|
||||
char *host, *lim, *buf, *next;
|
||||
struct rt_msghdr *rtm;
|
||||
struct sockaddr_inarp *sin;
|
||||
struct sockaddr_dl *sdl;
|
||||
|
Loading…
Reference in New Issue
Block a user