Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix signature of fcntl() compatibility dummy
author
Johannes Sixt
<j6t@kdbg.org>
Sat, 6 Mar 2010 15:40:40 +0000
(16:40 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 7 Mar 2010 08:37:35 +0000
(
00:37
-0800)
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>
compat/mingw.h
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
ebaa79f
)
diff --git
a/compat/mingw.h
b/compat/mingw.h
index e81e752ed2716ac9fb4a6847f97db84764694b4c..3347362632f009b973690300cfa039c36ab407f0 100644
(file)
--- 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; }
{ 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;
{
if (cmd == F_GETFD || cmd == F_SETFD)
return 0;