projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45a54fd
)
Fix warnings
author
Ian Lynagh
<igloo@earth.li>
Sat, 23 May 2009 22:45:08 +0000
(22:45 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 23 May 2009 22:45:08 +0000
(22:45 +0000)
include/HsBase.h
patch
|
blob
|
history
diff --git
a/include/HsBase.h
b/include/HsBase.h
index
afbff12
..
c8de454
100644
(file)
--- 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