Rationalised use of #includes to be more standards-compliant.
This commit is contained in:
parent
b48e9d9550
commit
bffe70f9ac
@ -3,10 +3,13 @@
|
|||||||
* (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 <string.h>
|
||||||
#include "sizes.h"
|
#include "sizes.h"
|
||||||
#include "Lpars.h"
|
#include "Lpars.h"
|
||||||
#include <em.h>
|
|
||||||
#include "em.h"
|
#include "em.h"
|
||||||
|
#include "occam-em.h"
|
||||||
|
|
||||||
/* This file is used to shield code.c as much as possible from em dependant
|
/* This file is used to shield code.c as much as possible from em dependant
|
||||||
* details. It introduces some call overhead but not enough for a coffee
|
* details. It introduces some call overhead but not enough for a coffee
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
/* OCCAM */
|
/* OCCAM */
|
||||||
{
|
{
|
||||||
|
#include <stdlib.h>
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "expr.h"
|
#include "expr.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 <system.h>
|
#include <system.h>
|
||||||
|
|
||||||
extern int err, lineno;
|
extern int err, lineno;
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#include <stdlib.h>
|
||||||
#include "em_arith.h"
|
#include "em_arith.h"
|
||||||
#include "em_label.h"
|
#include "em_label.h"
|
||||||
#include "../read_em/em_comp.h"
|
#include "../read_em/em_comp.h"
|
||||||
|
|||||||
@ -4,6 +4,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include "ack.h"
|
#include "ack.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "trans.h"
|
#include "trans.h"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user