From cafde7a25d7edb029c1a4b0a60c4b08b7c8b09d8 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 13 Nov 2016 00:10:53 +0000 Subject: [PATCH] ll: move DIR to static for cc65 --- Applications/util/ll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/util/ll.c b/Applications/util/ll.c index 52101515..90d5392f 100644 --- a/Applications/util/ll.c +++ b/Applications/util/ll.c @@ -33,7 +33,7 @@ int ls(char *path) { int st; struct dirent *d; - DIR dp; + static DIR dp; struct stat statbuf; static char dname[512]; -- 2.34.1