Rationalised use of #includes to be more standards-compliant.

This commit is contained in:
dtrg
2006-07-18 17:10:29 +00:00
parent 8ea67498ed
commit 4c0a0e6119
48 changed files with 80 additions and 66 deletions

View File

@@ -78,11 +78,15 @@ separate linker only possible if relocation info produced
/* ========== Machine independent type declarations ========== */
#ifdef _include
_include <stdlib.h>
_include <stdio.h>
_include <string.h>
_include <ctype.h>
_include <signal.h>
#else
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <signal.h>
#endif

View File

@@ -116,14 +116,6 @@ extern valu_t load();
extern FILE *ffcreat();
extern FILE *fftemp();
/* some library functions used */
extern char *mktemp();
extern char *malloc();
extern char *realloc();
extern char *calloc();
extern char *getenv();
extern char *strncpy();
/* ========== Machine dependent C declarations ========== */
#include "mach1.c"

View File

@@ -20,7 +20,7 @@ extern YYSTYPE yylval;
/* ========== Machine independent C routines ========== */
stop() {
void stop() {
#if DEBUG < 2
unlink(temppath);
#ifdef LISTING