stdio.h included (required by new get.h interface),
authorbal <none@none>
Thu, 29 Nov 1984 10:25:21 +0000 (10:25 +0000)
committerbal <none@none>
Thu, 29 Nov 1984 10:25:21 +0000 (10:25 +0000)
macros's newlocal() and oldlocal() added, replacing routines in
alloc.c with same name.

util/ego/share/locals.c

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