summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-06-13 07:47:47 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-06-13 07:47:47 (GMT)
commit111c180674379950f65113db8076919b2353f5ab (patch)
tree3dd5a9985792d7c0f8e7fdc5f1b3df552d3d33fd /Tools
parente1f6646d6899a7dffe269e829b72c1b171eb7075 (diff)
downloadcpython-111c180674379950f65113db8076919b2353f5ab.zip
cpython-111c180674379950f65113db8076919b2353f5ab.tar.gz
cpython-111c180674379950f65113db8076919b2353f5ab.tar.bz2
Make more symbols static.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/unicode/makeunicodedata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py
index 9de6904..2dfaa29 100644
--- a/Tools/unicode/makeunicodedata.py
+++ b/Tools/unicode/makeunicodedata.py
@@ -229,12 +229,12 @@ def makeunicodedata(unicode, trace):
print >>fp, "#define TOTAL_FIRST",total_first
print >>fp, "#define TOTAL_LAST",total_last
print >>fp, "struct reindex{int start;short count,index;};"
- print >>fp, "struct reindex nfc_first[] = {"
+ print >>fp, "static struct reindex nfc_first[] = {"
for start,end in comp_first_ranges:
print >>fp," { %d, %d, %d}," % (start,end-start,comp_first[start])
print >>fp," {0,0,0}"
print >>fp,"};\n"
- print >>fp, "struct reindex nfc_last[] = {"
+ print >>fp, "static struct reindex nfc_last[] = {"
for start,end in comp_last_ranges:
print >>fp," { %d, %d, %d}," % (start,end-start,comp_last[start])
print >>fp," {0,0,0}"