about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2017-03-10 18:44:41 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2017-03-10 18:44:41 +0900
commitc09af3516f9673ae2d1bbca1d2f59433bb6fd342 (patch)
tree59d0632f52772dcd7ef3150178e010d6c4a3693d /Src
parent4d7b34c5f38062313a7a8bba36b1f64c1a18d387 (diff)
downloadzsh-c09af3516f9673ae2d1bbca1d2f59433bb6fd342.tar.gz
zsh-c09af3516f9673ae2d1bbca1d2f59433bb6fd342.tar.xz
zsh-c09af3516f9673ae2d1bbca1d2f59433bb6fd342.zip
unposted: declare file local variables as static
Diffstat (limited to 'Src')
-rw-r--r--Src/hashtable.c4
1 files changed, 2 insertions, 2 deletions
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.