Minor changes: gave double def of __ctype with gcc on solaris 2
This commit is contained in:
parent
501da70526
commit
332b6cb337
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "booth.h"
|
||||
|
||||
extern char *strncpy(), *strcpy();
|
||||
extern char *malloc();
|
||||
#ifndef __STDC__
|
||||
extern char *sprintf();
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue