Rationalised use of #includes to be more standards-compliant.
This commit is contained in:
parent
d220081198
commit
f371b251d2
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue