diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-10 20:14:34 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-10 20:14:34 +0000 |
commit | 921cccd7617d28282f7e03b795a8c06d0cc886d6 (patch) | |
tree | 8c2b460c34358dbff3dbafe943beb3d1340ced34 /tools/ncp2222.py | |
parent | 6a2fe79f69d7865f5cf091fb179533341e57ccc7 (diff) |
Define some fcns & vars as static...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34459 f5534014-38df-0310-8fa8-9805f1628bb7
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 |