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

This commit is contained in:
dtrg
2006-07-22 12:28:20 +00:00
parent 744d0ca7be
commit fdcdaadcb8
6 changed files with 30 additions and 22 deletions

View File

@@ -3,21 +3,24 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "gen.h"
#include "top.h"
#include "queue.h"
/* Defined in the string module, which has no header file. FIXME. */
extern char* strindex(char *s, int c);
/* STANDARD MACHINE-INDEPENT C CODE *************/
extern char *lstrip();
extern instr_p newinstr();
extern instr_p read_instr();
extern instr_p gen_instr();
extern char * malloc();
extern char *strcat();
extern char *strcpy();
extern char *strncpy();
struct variable var[NRVARS+1];
struct variable ANY; /* ANY symbol matching any instruction */