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:
parent
0032ebfeda
commit
c17a52c09d
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue