summaryrefslogtreecommitdiff
path: root/Src/mem.c
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2016-08-23 18:14:18 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2016-08-23 18:14:18 +0900
commitd1d79796fbd2261798011ce810b544b62b0668a1 (patch)
tree82c70f307c13216db11478b5a9383c736ba49433 /Src/mem.c
parent18aa25c75d84b86be15a934554d3c829926a4066 (diff)
downloadzsh-d1d79796fbd2261798011ce810b544b62b0668a1.tar.gz
zsh-d1d79796fbd2261798011ce810b544b62b0668a1.zip
39086: declare file local variables as 'static'
Diffstat (limited to 'Src/mem.c')
-rw-r--r--Src/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/mem.c b/Src/mem.c
index e31145e1e..021dad573 100644
--- a/Src/mem.c
+++ b/Src/mem.c
@@ -157,13 +157,13 @@ mod_export Heapid last_heap_id;
* Assumes old_heaps() will come along and restore it later
* (outputs an error if old_heaps() is called out of sequence).
*/
-LinkList heaps_saved;
+static LinkList heaps_saved;
/*
* Debugging verbosity. This must be set from a debugger.
* An 'or' of bits from the enum heap_debug_verbosity.
*/
-volatile int heap_debug_verbosity;
+static volatile int heap_debug_verbosity;
/*
* Generate a heap identifier that's unique up to unsigned integer wrap.