aboutsummaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2010-03-06 16:40:40 +0100
committerJunio C Hamano <gitster@pobox.com>2010-03-07 00:37:35 -0800
commit5f8763a81b96b94f24af6aa728107997adcf60bd (patch)
treef87540d1c3877b08c81350da1d322e3cb8292aa9 /compat
parentebaa79f462c48e0ed0341d9c8f9c97de557afcfd (diff)
downloadgit-5f8763a81b96b94f24af6aa728107997adcf60bd.tar.gz
git-5f8763a81b96b94f24af6aa728107997adcf60bd.tar.xz
Fix signature of fcntl() compatibility dummy
Obviously, this function was never called with two arguments in Windows code sections, but this will be the case in a subsequent patch. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat')
-rw-r--r--compat/mingw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index e81e752ed..334736263 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -89,7 +89,7 @@ static inline int getuid()
{ return 1; }
static inline struct passwd *getpwnam(const char *name)
{ return NULL; }
-static inline int fcntl(int fd, int cmd, long arg)
+static inline int fcntl(int fd, int cmd, ...)
{
if (cmd == F_GETFD || cmd == F_SETFD)
return 0;