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

@@ -86,12 +86,12 @@ EM_doinstr(p)
if (! checkarg(&(p->em_arg), cst_ptyp)) return;
}
else {
#include "C_mnem_narg"
#include "C_mnem_narg.h"
return;
}
break;
}
#include "C_mnem"
#include "C_mnem.h"
}
PRIVATE void

View File

@@ -17,6 +17,8 @@
some routines from the system module. and the em_code module
*/
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <alloc.h>
#include <system.h>
@@ -35,8 +37,6 @@
#define ungetbyte(uch) ((uch) >= 0 && (*--_ich = (uch)))
#define init_input() (_fill(), _ich--)
#define EOF -1
static File *fd;
static char *_ich;

View File

@@ -9,6 +9,7 @@
*/
#include <ctype.h>
#include <string.h>
/* #define XXX_YYY /* only for early debugging */