diff options
Diffstat (limited to 'tools/ncp2222.py')
-rwxr-xr-x | tools/ncp2222.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ncp2222.py b/tools/ncp2222.py index 20cc1dbd8d..a377b98523 100755 --- a/tools/ncp2222.py +++ b/tools/ncp2222.py @@ -5756,10 +5756,10 @@ static int ptvc_struct_int_storage; if global_highest_var > -1: print "#define NUM_REPEAT_VARS\t%d" % (global_highest_var + 1) - print "guint repeat_vars[NUM_REPEAT_VARS];", + print "static guint repeat_vars[NUM_REPEAT_VARS];", else: print "#define NUM_REPEAT_VARS\t0" - print "guint *repeat_vars = NULL;", + print "static guint *repeat_vars = NULL;", print """ #define NO_VAR NUM_REPEAT_VARS |