From c17a52c09d16ca322f24a2caf2e8afd6fd88d633 Mon Sep 17 00:00:00 2001 From: bal Date: Thu, 29 Nov 1984 10:25:21 +0000 Subject: [PATCH] stdio.h included (required by new get.h interface), macros's newlocal() and oldlocal() added, replacing routines in alloc.c with same name. --- util/ego/share/locals.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.34.1