summaryrefslogtreecommitdiff
path: root/as/genobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'as/genobj.c')
-rw-r--r--as/genobj.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/as/genobj.c b/as/genobj.c
index 2992232..8080265 100644
--- a/as/genobj.c
+++ b/as/genobj.c
@@ -1,26 +1,12 @@
/* genobj.c - object code generation routines for assembler */
+#include "syshead.h"
#include "const.h"
#include "type.h"
#include "address.h"
#include "file.h"
#include "globvar.h"
-#ifdef STDC_HEADERS_MISSING
-char *strcpy P((char *s1, const char *s2));
-char *strrchr P((const char *s, int c));
-unsigned strlen P((const char *s));
-#else
-#include <string.h>
-#endif
-
-#ifdef POSIX_HEADERS_MISSING
-int write P((int fd, const void *buf, unsigned nbytes));
-#else
-#include <sys/types.h>
-#include <unistd.h>
-#endif
-
#define OBJBUFSIZE 512 /* size of object code output buffer */
#define isge2byteoffset(offset) ((offset) >= 0x100)
#define isge4byteoffset(offset) ((offset) >= 0x10000L)