Merge branch 'rj/mingw-compat-st-mode-bits'
authorJunio C Hamano <gitster@pobox.com>
Thu, 6 Jun 2013 19:19:06 +0000 (12:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Jun 2013 19:19:06 +0000 (12:19 -0700)
* rj/mingw-compat-st-mode-bits:
path: Fix a sparse warning

git-compat-util.h
index 660b7f012ac8a94a25da818c0ec6667ff3378add..aa0404ef418410905c3dfa7c88a8700cf41c6110 100644 (file)
 #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"
 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>