Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rj/mingw-compat-st-mode-bits'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 6 Jun 2013 19:19:06 +0000
(12:19 -0700)
committer
Junio 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
patch
|
blob
|
history
raw
(from parent 1:
d4f6b5f
)
diff --git
a/git-compat-util.h
b/git-compat-util.h
index 660b7f012ac8a94a25da818c0ec6667ff3378add..aa0404ef418410905c3dfa7c88a8700cf41c6110 100644
(file)
--- 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>