diff --git a/util/cgg/bootgram.y b/util/cgg/bootgram.y index 41aca072..0565b466 100644 --- a/util/cgg/bootgram.y +++ b/util/cgg/bootgram.y @@ -13,7 +13,6 @@ static char rcsid[]="$Header$"; #include #include -#include #include #include #include diff --git a/util/cgg/booth.h b/util/cgg/booth.h index 7c5d944f..7d5c89ae 100644 --- a/util/cgg/booth.h +++ b/util/cgg/booth.h @@ -55,12 +55,6 @@ typedef char * string; extern char *myalloc(); -#if __STDC__ -#include -#else -extern char *malloc(); -#endif - #include typedef struct list1str { diff --git a/util/cgg/bootlex.l b/util/cgg/bootlex.l index 4101c97d..c702a6d4 100644 --- a/util/cgg/bootlex.l +++ b/util/cgg/bootlex.l @@ -14,7 +14,6 @@ static char rcsid2[]="$Header$"; #include #include -#include #include #include #include diff --git a/util/cgg/main.c b/util/cgg/main.c index 9254df43..16d5b256 100644 --- a/util/cgg/main.c +++ b/util/cgg/main.c @@ -8,6 +8,7 @@ #include "booth.h" extern char *strncpy(), *strcpy(); +extern char *malloc(); #ifndef __STDC__ extern char *sprintf(); #else