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 <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
|
||||||
#include <em_spec.h>
|
#include <em_spec.h>
|
||||||
#include <em_flag.h>
|
#include <em_flag.h>
|
||||||
#include <em_reg.h>
|
#include <em_reg.h>
|
||||||
|
|
|
@ -55,12 +55,6 @@ typedef char * string;
|
||||||
|
|
||||||
extern char *myalloc();
|
extern char *myalloc();
|
||||||
|
|
||||||
#if __STDC__
|
|
||||||
#include <stdlib.h>
|
|
||||||
#else
|
|
||||||
extern char *malloc();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <cg_pattern.h>
|
#include <cg_pattern.h>
|
||||||
|
|
||||||
typedef struct list1str {
|
typedef struct list1str {
|
||||||
|
|
|
@ -14,7 +14,6 @@ static char rcsid2[]="$Header$";
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
|
||||||
#include <em_spec.h>
|
#include <em_spec.h>
|
||||||
#include <em_flag.h>
|
#include <em_flag.h>
|
||||||
#include <em_reg.h>
|
#include <em_reg.h>
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include "booth.h"
|
#include "booth.h"
|
||||||
|
|
||||||
extern char *strncpy(), *strcpy();
|
extern char *strncpy(), *strcpy();
|
||||||
|
extern char *malloc();
|
||||||
#ifndef __STDC__
|
#ifndef __STDC__
|
||||||
extern char *sprintf();
|
extern char *sprintf();
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue