summaryrefslogtreecommitdiff
path: root/patch-ids.c
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2012-03-04 19:10:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-03-05 05:17:25 (GMT)
commitf1589d100796c58615033dde10c1c6446b814357 (patch)
treef7d50672b174a7a32e6215160fe59b4a3b04d349 /patch-ids.c
parentaccccde483c3cfd55ef55037e8802ca0baaee5a1 (diff)
downloadgit-f1589d100796c58615033dde10c1c6446b814357.zip
git-f1589d100796c58615033dde10c1c6446b814357.tar.gz
git-f1589d100796c58615033dde10c1c6446b814357.tar.bz2
ctype.c: Fix a sparse warning
In particular, sparse complains as follows: SP ctype.c ctype.c:30:12: warning: symbol 'tolower_trans_tbl' was not declared.\ Should it be static? An appropriate extern declaration for the 'tolower_trans_tbl' symbol is included in the "cache.h" header file. In order to suppress the warning, therefore, we could replace the "git-compat-util.h" header inclusion with "cache.h", since "cache.h" includes "git-compat-util.h" in turn. Here, however, we choose to move the extern declaration for 'tolower_trans_tbl' into "git-compat-util.h", alongside the other extern declaration from ctype.c for 'sane_ctype'. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'patch-ids.c')
0 files changed, 0 insertions, 0 deletions