aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sys
diff options
context:
space:
mode:
authorRasmus Villemoes <rv@rasmusvillemoes.dk>2014-09-20 14:04:52 +0200
committerOndřej Bílka <neleai@seznam.cz>2014-09-20 14:05:49 +0200
commit69eb9a183c19e8739065e430758e4d3a2c5e4f1a (patch)
tree9c0eb970bd27cc2a39e06c3d0ab60283c4225650 /sysdeps/unix/sysv/linux/sys
parent20e5a5f773ee800b2d7ff3e24156a8b024f6bf46 (diff)
downloadglibc-69eb9a183c19e8739065e430758e4d3a2c5e4f1a.tar
glibc-69eb9a183c19e8739065e430758e4d3a2c5e4f1a.tar.gz
glibc-69eb9a183c19e8739065e430758e4d3a2c5e4f1a.tar.bz2
glibc-69eb9a183c19e8739065e430758e4d3a2c5e4f1a.zip
Fix prototype of eventfd.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r--sysdeps/unix/sysv/linux/sys/eventfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/eventfd.h b/sysdeps/unix/sysv/linux/sys/eventfd.h
index 7f977ed257..0806891f89 100644
--- a/sysdeps/unix/sysv/linux/sys/eventfd.h
+++ b/sysdeps/unix/sysv/linux/sys/eventfd.h
@@ -31,7 +31,7 @@ __BEGIN_DECLS
/* Return file descriptor for generic event channel. Set initial
value to COUNT. */
-extern int eventfd (int __count, int __flags) __THROW;
+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);