OSDN Git Service

Add stub for eventfd.
authorJean-Christian de Rivaz <jc@eclis.ch>
Wed, 2 Nov 2011 19:44:00 +0000 (20:44 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 4 Nov 2011 10:44:26 +0000 (11:44 +0100)
Warn if the enventfd() function is not implemented.

Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/common/stubs.c

index 1e54903..70addec 100644 (file)
@@ -92,6 +92,10 @@ make_stub(epoll_ctl)
 make_stub(epoll_wait)
 #endif
 
+#if !defined __NR_eventfd && defined __UCLIBC_LINUX_SPECIFIC__
+make_stub(eventfd)
+#endif
+
 #ifndef __NR_fdatasync
 make_stub(fdatasync)
 #endif