From: Alan Cox Date: Sun, 13 Nov 2016 00:11:07 +0000 (+0000) Subject: prtroot: move DIR to static for cc65 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6e166f869026c0c9ef740191970d375742f76295;p=FUZIX.git prtroot: move DIR to static for cc65 --- diff --git a/Applications/util/prtroot.c b/Applications/util/prtroot.c index 8ca4d605..6be4b66a 100644 --- a/Applications/util/prtroot.c +++ b/Applications/util/prtroot.c @@ -59,7 +59,7 @@ void done(const char *name, int status) int main(int argc, const char *argv[]) { - DIR dp; + static DIR dp; int i; struct dirent *entry; struct stat filestat, rootstat;