From c07ad9fe8e9752e82028b8833936612abaeffc2a Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Fri, 12 Aug 2022 22:55:06 -0700 Subject: [PATCH] A couple of variables that should be static rather than global in unixfork.c --- src/unixfork.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/unixfork.c b/src/unixfork.c index 66f56ac..bc4512f 100644 --- a/src/unixfork.c +++ b/src/unixfork.c @@ -45,13 +45,11 @@ int flushing = 0; #endif -/* The following globals are used to communicate between Unix - subprocesses and LISP */ +/* Used to communicate between Unix subprocesses and LISP */ -long StartTime; /* Time, for creating pipe filenames */ - -char shcom[512]; /* Here because I'm suspicious of */ - /* large allocations on the stack */ +static long StartTime; /* Time, for creating pipe filenames */ +static char shcom[512]; /* Here because I'm suspicious of */ + /* large allocations on the stack */ static inline ssize_t SAFEREAD(int f, char *b, int c)