diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2008-06-13 07:50:45 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2008-06-13 07:50:45 (GMT) |
commit | 59683e852906736276df6b8146064666098071b5 (patch) | |
tree | 693dacf60dae3bf6cb3bcbca5465b3f286e43b92 /Tools | |
parent | 1c95155bd153e4b9434a42ae434f6f6221c042a2 (diff) | |
download | cpython-59683e852906736276df6b8146064666098071b5.zip cpython-59683e852906736276df6b8146064666098071b5.tar.gz cpython-59683e852906736276df6b8146064666098071b5.tar.bz2 |
Merged revisions 64226 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r64226 | martin.v.loewis | 2008-06-13 09:47:47 +0200 (Fr, 13 Jun 2008) | 2 lines
Make more symbols static.
........
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/unicode/makeunicodedata.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py index 7b82f5c..52839e6 100644 --- a/Tools/unicode/makeunicodedata.py +++ b/Tools/unicode/makeunicodedata.py @@ -234,12 +234,12 @@ def makeunicodedata(unicode, trace): print("#define TOTAL_FIRST",total_first, file=fp) print("#define TOTAL_LAST",total_last, file=fp) print("struct reindex{int start;short count,index;};", file=fp) - print("struct reindex nfc_first[] = {", file=fp) + print("static struct reindex nfc_first[] = {", file=fp) for start,end in comp_first_ranges: print(" { %d, %d, %d}," % (start,end-start,comp_first[start]), file=fp) print(" {0,0,0}", file=fp) print("};\n", file=fp) - print("struct reindex nfc_last[] = {", file=fp) + print("static struct reindex nfc_last[] = {", file=fp) for start,end in comp_last_ranges: print(" { %d, %d, %d}," % (start,end-start,comp_last[start]), file=fp) print(" {0,0,0}", file=fp) |