diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/mem.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 3c54cb9ca..38b790e59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-08-23 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> + + * 39086: Src/mem.c: declare file local variables as 'static' + 2016-08-22 Oliver Kiddle <opk@zsh.org> * unposted (c.f. Mikael: 39078): Completion/Unix/Command/_git: 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. |