Rationalised use of #includes to be more standards-compliant.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
/* #define XXX_YYY /* only for early debugging */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user