stdio.h included (required by new get.h interface),

macros's newlocal() and oldlocal() added, replacing routines in
alloc.c with same name.
This commit is contained in:
bal 1984-11-29 10:25:21 +00:00
parent 0032ebfeda
commit c17a52c09d

View file

@ -2,6 +2,7 @@
* L O C A L S . C * L O C A L S . C
*/ */
#include <stdio.h>
#include "types.h" #include "types.h"
#include "debug.h" #include "debug.h"
#include "global.h" #include "global.h"
@ -17,6 +18,9 @@
#include "../../../h/em_mes.h" #include "../../../h/em_mes.h"
#include "locals.h" #include "locals.h"
#define newlocal() (local_p) newstruct(local)
#define oldlocal(x) oldstruct(local,x)
extern short nrglobals; extern short nrglobals;
short nrlocals; short nrlocals;