diff options
| author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2016-08-23 18:14:18 +0900 |
|---|---|---|
| committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2016-08-23 18:14:18 +0900 |
| commit | d1d79796fbd2261798011ce810b544b62b0668a1 (patch) | |
| tree | 82c70f307c13216db11478b5a9383c736ba49433 | |
| parent | unposted (c.f. Mikael: 39078): fix for git blame terms (diff) | |
| download | zsh-d1d79796fbd2261798011ce810b544b62b0668a1.tar zsh-d1d79796fbd2261798011ce810b544b62b0668a1.tar.gz zsh-d1d79796fbd2261798011ce810b544b62b0668a1.tar.bz2 zsh-d1d79796fbd2261798011ce810b544b62b0668a1.tar.lz zsh-d1d79796fbd2261798011ce810b544b62b0668a1.tar.xz zsh-d1d79796fbd2261798011ce810b544b62b0668a1.tar.zst zsh-d1d79796fbd2261798011ce810b544b62b0668a1.zip | |
39086: declare file local variables as 'static'
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | Src/mem.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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: @@ -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. |
