Make GCC happy with current patchs and compilation flags.
This commit is contained in:
parent
c0cd8650a6
commit
74fb1cff61
@ -5,6 +5,8 @@
|
||||
/* $Id$ */
|
||||
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "debug.h"
|
||||
#include "arith.h"
|
||||
#include "LLlex.h"
|
||||
|
||||
@ -5,6 +5,8 @@
|
||||
/* $Id$ */
|
||||
/* EXPRESSION TREE HANDLING */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "lint.h"
|
||||
#include "debug.h"
|
||||
#include "assert.h"
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
/* $Id$ */
|
||||
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "arith.h"
|
||||
|
||||
@ -33,9 +33,6 @@ struct mkey {
|
||||
{0, K_UNKNOWN}
|
||||
};
|
||||
|
||||
//char *strcpy();
|
||||
//char *sprint();
|
||||
|
||||
void init_pp()
|
||||
{
|
||||
static char *months[12] = {
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "ack.h"
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
/* */
|
||||
/**************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "ack.h"
|
||||
#include "grows.h"
|
||||
|
||||
|
||||
@ -4,6 +4,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "ack.h"
|
||||
#include "list.h"
|
||||
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
/* $Id$ */
|
||||
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "interface.h"
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
* C F _ L O O P . C
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../share/types.h"
|
||||
#include "../share/debug.h"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -16,9 +16,6 @@
|
||||
#include "debug.h"
|
||||
#include "alloc.h"
|
||||
|
||||
|
||||
//char * myalloc();
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
STATIC unsigned maxuse, curruse;
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -8,6 +8,8 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <em_mnem.h>
|
||||
#include <em_spec.h>
|
||||
#include <em_pseu.h>
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
* L S E T . C
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "types.h"
|
||||
#include "lset.h"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user