Remove bogus malloc() decl.
This commit is contained in:
parent
c7a2b294f0
commit
308f1befca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27907
@ -45,7 +45,7 @@ static const char copyright[] =
|
|||||||
static char sccsid[] = "@(#)paste.c 8.1 (Berkeley) 6/6/93";
|
static char sccsid[] = "@(#)paste.c 8.1 (Berkeley) 6/6/93";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id$";
|
"$Id: paste.c,v 1.3 1997/07/31 06:59:26 charnier Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -115,7 +115,7 @@ parallel(argv)
|
|||||||
register char ch, *p;
|
register char ch, *p;
|
||||||
LIST *head, *tmp;
|
LIST *head, *tmp;
|
||||||
int opencnt, output;
|
int opencnt, output;
|
||||||
char buf[_POSIX2_LINE_MAX + 1], *malloc();
|
char buf[_POSIX2_LINE_MAX + 1];
|
||||||
|
|
||||||
for (cnt = 0, head = NULL; (p = *argv); ++argv, ++cnt) {
|
for (cnt = 0, head = NULL; (p = *argv); ++argv, ++cnt) {
|
||||||
if (!(lp = (LIST *)malloc((u_int)sizeof(LIST))))
|
if (!(lp = (LIST *)malloc((u_int)sizeof(LIST))))
|
||||||
|
Loading…
Reference in New Issue
Block a user