aboutsummaryrefslogtreecommitdiff
path: root/pack.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2013-05-30 00:53:28 +0100
committerJunio C Hamano <gitster@pobox.com>2013-05-29 17:03:14 -0700
commit2f0aaaf9dabd846061a759b53ff4759ec886df62 (patch)
treebc342718f16a420041edd4ec2d6f6bd44d66912c /pack.h
parentedca4152560522a431a51fc0a06147fc680b5b18 (diff)
downloadgit-2f0aaaf9dabd846061a759b53ff4759ec886df62.tar.gz
git-2f0aaaf9dabd846061a759b53ff4759ec886df62.tar.xz
path: Fix a sparse warning
On MinGW, sparse issues an "'get_st_mode_bits' not declared. Should it be static?" warning. The MinGW and MSVC builds do not see the declaration of this function, within git-compat-util.h, due to its placement within an preprocessor conditional. In order to suppress the warning, we simply move the declaration to the top level of the header. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack.h')
0 files changed, 0 insertions, 0 deletions