39086: declare file local variables as 'static'

This commit is contained in:
Jun-ichi Takimoto 2016-08-23 18:14:18 +09:00
parent 18aa25c75d
commit d1d79796fb
2 changed files with 6 additions and 2 deletions

View File

@ -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:

View File

@ -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.