diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-06-06 12:19:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-06 12:19:06 -0700 |
commit | 00480a1e9ccd44f257c09c45c185c9c8825a3078 (patch) | |
tree | 092f9134bfdc05a8bb6d5c36ccb9852971087dcf /git-compat-util.h | |
parent | d4f6b5f51ce2c974c7630b5491562a21821c8fe4 (diff) | |
parent | 2f0aaaf9dabd846061a759b53ff4759ec886df62 (diff) | |
download | git-00480a1e9ccd44f257c09c45c185c9c8825a3078.tar.gz |
Merge branch 'rj/mingw-compat-st-mode-bits'
* rj/mingw-compat-st-mode-bits:
path: Fix a sparse warning
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index 660b7f012a..aa0404ef41 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -127,6 +127,9 @@ #else #include <poll.h> #endif + +extern int get_st_mode_bits(const char *path, int *mode); + #if defined(__MINGW32__) /* pull in Windows compatibility stuff */ #include "compat/mingw.h" @@ -163,7 +166,6 @@ typedef long intptr_t; typedef unsigned long uintptr_t; #endif -int get_st_mode_bits(const char *path, int *mode); #if defined(__CYGWIN__) #undef _XOPEN_SOURCE #include <grp.h> |