1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-11 13:01:28 +02:00

unposted: declare file local variables as static

This commit is contained in:
Jun-ichi Takimoto 2017-03-10 18:44:41 +09:00
parent 4d7b34c5f3
commit c09af3516f
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,8 @@
* unposted: Src/Modules/tcp.c: silence compiler warnings on Cygwin
* unposted: Src/hashtable.c: declare file local variables as static
2017-03-09 Barton E. Schaefer <schaefer@zsh.org>
* Fabian Klotzl: 40808: Completion/Linux/Command/_mdadm,

View file

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