summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2010-02-16 09:32:38 +0000
committerroot <root>2010-02-16 09:32:38 +0000
commitfae5e7584f8154028f508ac11d07f02fed959837 (patch)
tree2202c0939549eb8086137e715183eb246db147bf
parent89d6c781838ccee385f0805ef71a7ab6672d09bd (diff)
maemo hits, but it's a dead platform anyways
-rw-r--r--Changes2
-rw-r--r--ev.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changes b/Changes
index 1aaebaa..ed3fb38 100644
--- a/Changes
+++ b/Changes
@@ -9,6 +9,8 @@ Revision history for libev, a high-performance and full-featured event loop.
- disable poll backend on AIX, the poll header spams the namespace
and it's not worth working around dead platforms (reported
and analyzed by Aivars Kalvans).
+ - improve header file compatibility of the standalone eventfd code
+ in an obscure case.
3.9 Thu Dec 31 07:59:59 CET 2009
- signalfd is no longer used by default and has to be requested
diff --git a/ev.c b/ev.c
index f89d7fd..2568f7b 100644
--- a/ev.c
+++ b/ev.c
@@ -405,7 +405,7 @@ extern "C" {
# ifdef __cplusplus
extern "C" {
# endif
-int eventfd (unsigned int initval, int flags);
+int (eventfd) (unsigned int initval, int flags);
# ifdef __cplusplus
}
# endif