aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ncp2222.py
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-10-10 20:14:34 +0000
committerBill Meier <wmeier@newsguy.com>2010-10-10 20:14:34 +0000
commitacccf6a77ce0d1281d530f2d43fa58d192ad0284 (patch)
tree8c2b460c34358dbff3dbafe943beb3d1340ced34 /tools/ncp2222.py
parent209109c2fd465c6b2065d625c4dba0ad9c879b1e (diff)
Define some fcns & vars as static...
svn path=/trunk/; revision=34459
Diffstat (limited to 'tools/ncp2222.py')
-rwxr-xr-xtools/ncp2222.py4
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