From: Jean-Christian de Rivaz <[email protected]>

Warn if the enventfd() function is not implemented.

Signed-off-by: Jean-Christian de Rivaz <[email protected]>
---
 libc/sysdeps/linux/common/stubs.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/common/stubs.c 
b/libc/sysdeps/linux/common/stubs.c
index 1e54903..9a0682a 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -373,6 +373,10 @@ make_stub(timerfd_settime)
 make_stub(timerfd_gettime)
 #endif
 
+#if !defined __NR_eventfd && defined __UCLIBC_LINUX_SPECIFIC__
+make_stub(eventfd)
+#endif
+
 #if !defined __NR_umount && !defined __NR_umount2 && defined 
__UCLIBC_LINUX_SPECIFIC__
 make_stub(umount)
 #endif
-- 
1.7.2.5

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to