[PATCH 3/6] Fix signature of fcntl() compatibility dummy
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Mar 6, 2010, 15:40 UTC
- Message-ID
- <dc9be33a660733a88e1c2fd8a3d9c190a7779d5d.1267889703.git.j6t@kdbg.org>
- In-Reply-To
- <cover.1267889703.git.j6t@kdbg.org>
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> --- compat/mingw.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/compat/mingw.h b/compat/mingw.h index e254fb4..f53bcca 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;
-- 1.7.0.rc2.65.g7b13a