diff options
author | kan <kan@FreeBSD.org> | 2004-07-28 07:12:30 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-07-28 07:12:30 +0000 |
commit | e0af363c57aa76f8ffb8ee8995d1e321028772e0 (patch) | |
tree | d754875f1f8f4f38903b20a068e4c70a78c113c9 /usr.bin/window | |
parent | aa7daeefe51f3af3bd743cfaa8337eb517b1ef67 (diff) | |
download | FreeBSD-src-e0af363c57aa76f8ffb8ee8995d1e321028772e0.zip FreeBSD-src-e0af363c57aa76f8ffb8ee8995d1e321028772e0.tar.gz |
Remove local malloc prototypes, which are incorrect and conflict with
both GCC builtin and system declared ones.
Diffstat (limited to 'usr.bin/window')
-rw-r--r-- | usr.bin/window/context.c | 2 | ||||
-rw-r--r-- | usr.bin/window/string.c | 2 | ||||
-rw-r--r-- | usr.bin/window/tttermcap.c | 1 | ||||
-rw-r--r-- | usr.bin/window/var.c | 2 |
4 files changed, 0 insertions, 7 deletions
diff --git a/usr.bin/window/context.c b/usr.bin/window/context.c index c190ff1..78cf892 100644 --- a/usr.bin/window/context.c +++ b/usr.bin/window/context.c @@ -49,8 +49,6 @@ static char rcsid[] = * Context push/pop for nested command files. */ -char *malloc(); - cx_alloc() { register struct context *xp; diff --git a/usr.bin/window/string.c b/usr.bin/window/string.c index 949222e..57b5fa1 100644 --- a/usr.bin/window/string.c +++ b/usr.bin/window/string.c @@ -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; diff --git a/usr.bin/window/tttermcap.c b/usr.bin/window/tttermcap.c index 5f115a0..5cc82e6 100644 --- a/usr.bin/window/tttermcap.c +++ b/usr.bin/window/tttermcap.c @@ -44,7 +44,6 @@ static char rcsid[] = char *tgetstr(); char *tgoto(); -char *malloc(); tttputc(c) { diff --git a/usr.bin/window/var.c b/usr.bin/window/var.c index f186460..8ef3175 100644 --- a/usr.bin/window/var.c +++ b/usr.bin/window/var.c @@ -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; |