summaryrefslogtreecommitdiffstats
path: root/usr.bin/more
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-23 10:16:58 +0000
committerbde <bde@FreeBSD.org>1997-04-23 10:16:58 +0000
commit3f969c2fa3e99425c83504d3d3afe9cc5062f213 (patch)
tree1c491f6db2b96dae954e454f89f8dcf7eeba094b /usr.bin/more
parenta3b6ff71437d61f1a709992587c278833036f33b (diff)
downloadFreeBSD-src-3f969c2fa3e99425c83504d3d3afe9cc5062f213.zip
FreeBSD-src-3f969c2fa3e99425c83504d3d3afe9cc5062f213.tar.gz
Removed inconsistent declaration of malloc(). `make world' with DESTDIR
set to something other than "/" now actually works.
Diffstat (limited to 'usr.bin/more')
-rw-r--r--usr.bin/more/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/more/main.c b/usr.bin/more/main.c
index 7dd0fe4..26be68b 100644
--- a/usr.bin/more/main.c
+++ b/usr.bin/more/main.c
@@ -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)
OpenPOWER on IntegriCloud