From: bal Date: Thu, 29 Nov 1984 10:25:21 +0000 (+0000) Subject: stdio.h included (required by new get.h interface), X-Git-Tag: release-5-5~5939 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c17a52c09d16ca322f24a2caf2e8afd6fd88d633;p=ack.git stdio.h included (required by new get.h interface), macros's newlocal() and oldlocal() added, replacing routines in alloc.c with same name. --- diff --git a/util/ego/share/locals.c b/util/ego/share/locals.c index e71c0a985..67b086673 100644 --- a/util/ego/share/locals.c +++ b/util/ego/share/locals.c @@ -2,6 +2,7 @@ * L O C A L S . C */ +#include #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;