Removed inconsistent declaration of malloc(). `make world' with DESTDIR

set to something other than "/" now actually works.
This commit is contained in:
Bruce Evans 1997-04-23 10:16:58 +00:00
parent b071c689de
commit f4c1975c26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25103
3 changed files with 3 additions and 4 deletions

View File

@ -70,7 +70,6 @@ int lineno; /* Current input line */
int mark; /* Last place we saw a head line */ int mark; /* Last place we saw a head line */
int center; int center;
char *malloc(); /* for lint . . . */
char *headnames[] = {"To", "Subject", "Cc", 0}; char *headnames[] = {"To", "Subject", "Cc", 0};
/* /*

View File

@ -342,7 +342,7 @@ char *
save(s) save(s)
char *s; char *s;
{ {
char *p, *strcpy(), *malloc(); char *p, *strcpy();
p = malloc((u_int)strlen(s)+1); p = malloc((u_int)strlen(s)+1);
if (p == NULL) if (p == NULL)

View File

@ -42,7 +42,7 @@ static char const copyright[] =
#ifndef lint #ifndef lint
static char const sccsid[] = "@(#)from: arp.c 8.2 (Berkeley) 1/2/94"; 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 */ #endif /* not lint */
/* /*
@ -380,7 +380,7 @@ dump(u_long addr)
{ {
int mib[6]; int mib[6];
size_t needed; size_t needed;
char *host, *malloc(), *lim, *buf, *next; char *host, *lim, *buf, *next;
struct rt_msghdr *rtm; struct rt_msghdr *rtm;
struct sockaddr_inarp *sin; struct sockaddr_inarp *sin;
struct sockaddr_dl *sdl; struct sockaddr_dl *sdl;