Minor changes: gave double def of __ctype with gcc on solaris 2
authorceriel <none@none>
Fri, 12 Nov 1993 15:16:08 +0000 (15:16 +0000)
committerceriel <none@none>
Fri, 12 Nov 1993 15:16:08 +0000 (15:16 +0000)
util/cgg/bootgram.y
util/cgg/booth.h
util/cgg/bootlex.l
util/cgg/main.c

index 41aca07..0565b46 100644 (file)
@@ -13,7 +13,6 @@ static char rcsid[]="$Header$";
 
 #include <stdio.h>
 #include <assert.h>
-#include <ctype.h>
 #include <em_spec.h>
 #include <em_flag.h>
 #include <em_reg.h>
index 7c5d944..7d5c89a 100644 (file)
@@ -55,12 +55,6 @@ typedef char * string;
 
 extern char *myalloc();
 
-#if __STDC__
-#include <stdlib.h>
-#else
-extern char *malloc();
-#endif
-
 #include <cg_pattern.h>
 
 typedef struct list1str {
index 4101c97..c702a6d 100644 (file)
@@ -14,7 +14,6 @@ static char rcsid2[]="$Header$";
 
 #include <stdio.h>
 #include <assert.h>
-#include <ctype.h>
 #include <em_spec.h>
 #include <em_flag.h>
 #include <em_reg.h>
index 9254df4..16d5b25 100644 (file)
@@ -8,6 +8,7 @@
 #include "booth.h"
 
 extern char *strncpy(), *strcpy();
+extern char *malloc();
 #ifndef __STDC__
 extern char *sprintf();
 #else