1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00

unposted: add 'static' to a file-local variable

This commit is contained in:
Jun-ichi Takimoto 2018-03-24 15:32:43 +09:00
parent e4a8069b32
commit beadc29214
2 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,9 @@
* 42501: Src/Zle/complete.c, Src/Zle/computil.c,
Src/Zle/zle_thingy.c: avoid out of bound pointer (as 42487).
* unposted: Src/Modules/db_gdbm.c: add 'static' to a file-local
variable.
2018-03-23 Oliver Kiddle <okiddle@yahoo.co.uk>
* 42491 based on 42000 (Andrei Shevchuk):

View file

@ -98,7 +98,7 @@ static struct builtin bintab[] = {
{ name, PM_ARRAY | PM_READONLY, (void *) var, NULL, NULL, NULL, NULL }
/* Holds names of all tied parameters */
char **zgdbm_tied;
static char **zgdbm_tied;
static struct paramdef patab[] = {
ROARRPARAMDEF( "zgdbm_tied", &zgdbm_tied ),