From 332b6cb337db31c59c2a3d52d81cc0e0025730aa Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 12 Nov 1993 15:16:08 +0000 Subject: [PATCH] Minor changes: gave double def of __ctype with gcc on solaris 2 --- util/cgg/bootgram.y | 1 - util/cgg/booth.h | 6 ------ util/cgg/bootlex.l | 1 - util/cgg/main.c | 1 + 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/util/cgg/bootgram.y b/util/cgg/bootgram.y index 41aca0721..0565b4667 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 7c5d944fe..7d5c89aea 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 4101c97d4..c702a6d4d 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 9254df430..16d5b2561 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 -- 2.34.1