Make GCC happy with current patchs and compilation flags.
This commit is contained in:
parent
c0cd8650a6
commit
74fb1cff61
@ -5,6 +5,8 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
|
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "arith.h"
|
#include "arith.h"
|
||||||
#include "LLlex.h"
|
#include "LLlex.h"
|
||||||
|
|||||||
@ -5,6 +5,8 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
/* EXPRESSION TREE HANDLING */
|
/* EXPRESSION TREE HANDLING */
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "lint.h"
|
#include "lint.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
|
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "arith.h"
|
#include "arith.h"
|
||||||
|
|||||||
@ -33,9 +33,6 @@ struct mkey {
|
|||||||
{0, K_UNKNOWN}
|
{0, K_UNKNOWN}
|
||||||
};
|
};
|
||||||
|
|
||||||
//char *strcpy();
|
|
||||||
//char *sprint();
|
|
||||||
|
|
||||||
void init_pp()
|
void init_pp()
|
||||||
{
|
{
|
||||||
static char *months[12] = {
|
static char *months[12] = {
|
||||||
|
|||||||
@ -431,8 +431,9 @@ dopseudo() {
|
|||||||
|
|
||||||
/* ----- input ----- */
|
/* ----- input ----- */
|
||||||
|
|
||||||
int getarg(typset) {
|
int getarg(int typset)
|
||||||
register t,argtyp;
|
{
|
||||||
|
int t,argtyp;
|
||||||
|
|
||||||
argtyp = t = table2();
|
argtyp = t = table2();
|
||||||
if (t == EOF)
|
if (t == EOF)
|
||||||
|
|||||||
@ -8,6 +8,8 @@
|
|||||||
are received corresponds to the order in which they must be written,
|
are received corresponds to the order in which they must be written,
|
||||||
they can be written immediately.
|
they can be written immediately.
|
||||||
*/
|
*/
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <em_path.h>
|
#include <em_path.h>
|
||||||
#include <alloc.h>
|
#include <alloc.h>
|
||||||
|
|||||||
@ -55,7 +55,7 @@ PRIVATE int checkarg(struct e_arg *arg, int typset)
|
|||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
//#define checkarg(arg, x) (1)
|
/*#define checkarg(arg, x) (1)*/
|
||||||
#endif /* CHECKING */
|
#endif /* CHECKING */
|
||||||
|
|
||||||
/* EM_doinstr: An EM instruction
|
/* EM_doinstr: An EM instruction
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "ack.h"
|
#include "ack.h"
|
||||||
|
|||||||
@ -10,6 +10,8 @@
|
|||||||
/* */
|
/* */
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "ack.h"
|
#include "ack.h"
|
||||||
#include "grows.h"
|
#include "grows.h"
|
||||||
|
|
||||||
|
|||||||
@ -4,6 +4,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "ack.h"
|
#include "ack.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
|
/* PREPROCESSOR: CONTROLLINE INTERPRETER */
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "interface.h"
|
#include "interface.h"
|
||||||
|
|||||||
@ -8,6 +8,7 @@
|
|||||||
* C F _ L O O P . C
|
* C F _ L O O P . C
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "../share/types.h"
|
#include "../share/types.h"
|
||||||
#include "../share/debug.h"
|
#include "../share/debug.h"
|
||||||
|
|||||||
@ -3,6 +3,9 @@
|
|||||||
* (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 "../share/types.h"
|
#include "../share/types.h"
|
||||||
#include "../share/alloc.h"
|
#include "../share/alloc.h"
|
||||||
#include "cs.h"
|
#include "cs.h"
|
||||||
|
|||||||
@ -211,7 +211,7 @@ call_p getcall(FILE *cf)
|
|||||||
m = getshort();
|
m = getshort();
|
||||||
act->ac_size = getoff();
|
act->ac_size = getoff();
|
||||||
act->ac_inl = getbyte();
|
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;
|
||||||
app = &act->ac_next;
|
app = &act->ac_next;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,9 +16,6 @@
|
|||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "alloc.h"
|
#include "alloc.h"
|
||||||
|
|
||||||
|
|
||||||
//char * myalloc();
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
||||||
STATIC unsigned maxuse, curruse;
|
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
|
* 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
|
#ifdef DEBUG
|
||||||
char *newcore(int size);
|
char *newcore(int size);
|
||||||
void oldcore(char *p, int size);
|
void oldcore(char *p, int size);
|
||||||
|
|||||||
@ -8,6 +8,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <em_mnem.h>
|
#include <em_mnem.h>
|
||||||
#include <em_spec.h>
|
#include <em_spec.h>
|
||||||
#include <em_pseu.h>
|
#include <em_pseu.h>
|
||||||
|
|||||||
@ -8,6 +8,7 @@
|
|||||||
* L S E T . C
|
* L S E T . C
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "lset.h"
|
#include "lset.h"
|
||||||
|
|||||||
@ -6,6 +6,8 @@
|
|||||||
/* P U T . C */
|
/* P U T . C */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <em_pseu.h>
|
#include <em_pseu.h>
|
||||||
#include <em_spec.h>
|
#include <em_spec.h>
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user