summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/sys/eventfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/sys/eventfd.h')
-rw-r--r--libc/sysdeps/linux/common/sys/eventfd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/sys/eventfd.h b/libc/sysdeps/linux/common/sys/eventfd.h
index 1bf785f32..a47b5fecf 100644
--- a/libc/sysdeps/linux/common/sys/eventfd.h
+++ b/libc/sysdeps/linux/common/sys/eventfd.h
@@ -31,9 +31,7 @@ __BEGIN_DECLS
/* Return file descriptor for generic event channel. Set initial
value to COUNT. */
-extern int eventfd (int __count, int __flags) __THROW;
-
-#if 0 /* not (yet) implemented in uClibc */
+extern int eventfd (unsigned int __count, int __flags) __THROW;
/* Read event counter and possibly wait for events. */
extern int eventfd_read (int __fd, eventfd_t *__value);
@@ -41,8 +39,6 @@ extern int eventfd_read (int __fd, eventfd_t *__value);
/* Increment event counter. */
extern int eventfd_write (int __fd, eventfd_t __value);
-#endif
-
__END_DECLS
#endif /* sys/eventfd.h */