From cff68443bca2341d0ea62f7bd75d01eab2024202 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 23 May 2009 22:45:08 +0000 Subject: [PATCH] Fix warnings --- include/HsBase.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/HsBase.h b/include/HsBase.h index afbff12..c8de454 100644 --- a/include/HsBase.h +++ b/include/HsBase.h @@ -770,13 +770,13 @@ void debugBelch2(const char*s, char *t); #if !defined(mingw32_HOST_OS) && !defined(__MINGW32__) INLINE int fcntl_read(int fd, int cmd) { - fcntl(fd, cmd); + return fcntl(fd, cmd); } INLINE int fcntl_write(int fd, int cmd, long arg) { - fcntl(fd, cmd, arg); + return fcntl(fd, cmd, arg); } INLINE int fcntl_lock(int fd, int cmd, struct flock *lock) { - fcntl(fd, cmd, lock); + return fcntl(fd, cmd, lock); } #endif -- 1.7.10.4