diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Src/Modules/db_gdbm.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index f17ed6dff..02d60612b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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): diff --git a/Src/Modules/db_gdbm.c b/Src/Modules/db_gdbm.c index cf1322459..5f776f407 100644 --- a/Src/Modules/db_gdbm.c +++ b/Src/Modules/db_gdbm.c @@ -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 ), |