From e0af363c57aa76f8ffb8ee8995d1e321028772e0 Mon Sep 17 00:00:00 2001 From: kan Date: Wed, 28 Jul 2004 07:12:30 +0000 Subject: Remove local malloc prototypes, which are incorrect and conflict with both GCC builtin and system declared ones. --- usr.bin/window/context.c | 2 -- usr.bin/window/string.c | 2 -- usr.bin/window/tttermcap.c | 1 - usr.bin/window/var.c | 2 -- 4 files changed, 7 deletions(-) (limited to 'usr.bin/window') 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 /* 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; -- cgit v1.1