Make GCC happy with current patchs and compilation flags.

This commit is contained in:
Manoel Trapier 2013-03-18 10:24:47 +01:00 committed by Manoël Trapier
parent c0cd8650a6
commit 74fb1cff61
19 changed files with 30 additions and 10 deletions

View File

@ -5,6 +5,8 @@
/* $Id$ */
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
#include <stdlib.h>
#include "debug.h"
#include "arith.h"
#include "LLlex.h"

View File

@ -5,6 +5,8 @@
/* $Id$ */
/* EXPRESSION TREE HANDLING */
#include <stdlib.h>
#include "lint.h"
#include "debug.h"
#include "assert.h"

View File

@ -5,6 +5,7 @@
/* $Id$ */
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
#include <stdlib.h>
#include <string.h>
#include "arith.h"

View File

@ -33,9 +33,6 @@ struct mkey {
{0, K_UNKNOWN}
};
//char *strcpy();
//char *sprint();
void init_pp()
{
static char *months[12] = {

View File

@ -431,8 +431,9 @@ dopseudo() {
/* ----- input ----- */
int getarg(typset) {
register t,argtyp;
int getarg(int typset)
{
int t,argtyp;
argtyp = t = table2();
if (t == EOF)

View File

@ -8,6 +8,8 @@
are received corresponds to the order in which they must be written,
they can be written immediately.
*/
#include <stdio.h>
#include <stdlib.h>
#include <em_path.h>
#include <alloc.h>

View File

@ -55,7 +55,7 @@ PRIVATE int checkarg(struct e_arg *arg, int typset)
{
return 1;
}
//#define checkarg(arg, x) (1)
/*#define checkarg(arg, x) (1)*/
#endif /* CHECKING */
/* EM_doinstr: An EM instruction

View File

@ -4,6 +4,7 @@
*
*/
#include <stdlib.h>
#include <string.h>
#include "ack.h"

View File

@ -10,6 +10,8 @@
/* */
/**************************************************************************/
#include <stdlib.h>
#include "ack.h"
#include "grows.h"

View File

@ -4,6 +4,9 @@
*
*/
#include <stdio.h>
#include <stdlib.h>
#include "ack.h"
#include "list.h"

View File

@ -5,6 +5,7 @@
/* $Id$ */
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
#include <stdlib.h>
#include <string.h>
#include "interface.h"

View File

@ -8,6 +8,7 @@
* C F _ L O O P . C
*/
#include <stdlib.h>
#include "../share/types.h"
#include "../share/debug.h"

View File

@ -3,6 +3,9 @@
* (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 "../share/types.h"
#include "../share/alloc.h"
#include "cs.h"

View File

@ -211,7 +211,7 @@ call_p getcall(FILE *cf)
m = getshort();
act->ac_size = getoff();
act->ac_inl = getbyte();
act->ac_exp = getlines(cf,m,&voided, 0); //WARN
act->ac_exp = getlines(cf,m,&voided, 0); /* WARN */
*app = act;
app = &act->ac_next;
}

View File

@ -16,9 +16,6 @@
#include "debug.h"
#include "alloc.h"
//char * myalloc();
#ifdef DEBUG
STATIC unsigned maxuse, curruse;

View File

@ -8,6 +8,8 @@
* C O R E A L L O C A T I O N A N D D E A L L O C A T I O N
*/
#include <stdlib.h>
#ifdef DEBUG
char *newcore(int size);
void oldcore(char *p, int size);

View File

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

View File

@ -8,6 +8,7 @@
* L S E T . C
*/
#include <stdlib.h>
#include "types.h"
#include "lset.h"

View File

@ -6,6 +6,8 @@
/* P U T . C */
#include <stdio.h>
#include <stdlib.h>
#include <em_pseu.h>
#include <em_spec.h>
#include "types.h"