diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Src/hashtable.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 233b0cca1..da581010a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ * unposted: Src/Modules/tcp.c: silence compiler warnings on Cygwin + * unposted: Src/hashtable.c: declare file local variables as static + 2017-03-09 Barton E. Schaefer <schaefer@zsh.org> * Fabian Klotzl: 40808: Completion/Linux/Command/_mdadm, diff --git a/Src/hashtable.c b/Src/hashtable.c index 8987c8597..ba5faad91 100644 --- a/Src/hashtable.c +++ b/Src/hashtable.c @@ -1496,8 +1496,8 @@ struct dircache_entry * for multiple references to the same directory, e.g * "autoload /blah/blah/\*". */ -struct dircache_entry *dircache, *dircache_lastentry; -int dircache_size; +static struct dircache_entry *dircache, *dircache_lastentry; +static int dircache_size; /* * Set *name to point to a cached version of value. |