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

This commit is contained in:
dtrg 2006-07-22 00:46:16 +00:00
parent d220081198
commit f371b251d2
16 changed files with 22 additions and 1 deletions

View file

@ -9,6 +9,7 @@
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <em_mnem.h> #include <em_mnem.h>
#include <em_pseu.h> #include <em_pseu.h>

View file

@ -9,7 +9,9 @@
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <em_pseu.h> #include <em_pseu.h>
#include <em_mes.h> #include <em_mes.h>
#include "../share/types.h" #include "../share/types.h"

View file

@ -8,6 +8,7 @@
* M A I N R O U T I N E * M A I N R O U T I N E
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <em_mnem.h> #include <em_mnem.h>
#include <em_pseu.h> #include <em_pseu.h>

View file

@ -9,6 +9,7 @@
* *
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <em_mnem.h> #include <em_mnem.h>
#include <em_spec.h> #include <em_spec.h>

View file

@ -7,6 +7,7 @@
/* C O M M O N S U B E X P R E S S I O N E L I M I N A T I O N */ /* C O M M O N S U B E X P R E S S I O N E L I M I N A T I O N */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "../share/types.h" #include "../share/types.h"
#include "../share/lset.h" #include "../share/lset.h"

View file

@ -8,6 +8,7 @@
* I C . C * I C . C
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <em_spec.h> #include <em_spec.h>
#include <em_pseu.h> #include <em_pseu.h>

View file

@ -9,7 +9,9 @@
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <em_spec.h> #include <em_spec.h>
#include "../share/types.h" #include "../share/types.h"
#include "../share/debug.h" #include "../share/debug.h"

View file

@ -4,7 +4,10 @@
* See the copyright notice in the ACK home directory, in the file "Copyright". * See the copyright notice in the ACK home directory, in the file "Copyright".
*/ */
/* I N L I N E S U B S T I T U T I O N */ /* I N L I N E S U B S T I T U T I O N */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <em_path.h> #include <em_path.h>
#include <em_mnem.h> #include <em_mnem.h>
#include <em_pseu.h> #include <em_pseu.h>

View file

@ -3,6 +3,8 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright". * See the copyright notice in the ACK home directory, in the file "Copyright".
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
/* MAKE ITEMS TABLE /* MAKE ITEMS TABLE

View file

@ -8,6 +8,7 @@
* *
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <em_reg.h> #include <em_reg.h>
#include "../share/types.h" #include "../share/types.h"

View file

@ -10,6 +10,7 @@
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "types.h" #include "types.h"
#include "debug.h" #include "debug.h"
@ -17,7 +18,6 @@
char * myalloc(); char * myalloc();
char * calloc();
#ifdef DEBUG #ifdef DEBUG

View file

@ -9,6 +9,7 @@
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <em_spec.h> #include <em_spec.h>
#include "types.h" #include "types.h"

View file

@ -3,6 +3,8 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright". * See the copyright notice in the ACK home directory, in the file "Copyright".
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
/* MAKECLASSDEF /* MAKECLASSDEF

View file

@ -9,6 +9,7 @@
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <em_mnem.h> #include <em_mnem.h>
#include <em_spec.h> #include <em_spec.h>

View file

@ -6,6 +6,7 @@
/* S T R E N G T H R E D U C T I O N */ /* S T R E N G T H R E D U C T I O N */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "../share/types.h" #include "../share/types.h"
#include "sr.h" #include "sr.h"

View file

@ -5,6 +5,7 @@
*/ */
/* U S E - D E F I N I T I O N A N A L Y S I S */ /* U S E - D E F I N I T I O N A N A L Y S I S */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <em_spec.h> #include <em_spec.h>
#include "../share/types.h" #include "../share/types.h"