[git commit] Add stub for eventfd.
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Nov 4 10:44:26 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=d10475f8237e66f6a00b65427758c98d80cb381d
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Warn if the enventfd() function is not implemented.
Signed-off-by: Jean-Christian de Rivaz <jc at eclis.ch>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
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..70addec 100644
--- a/libc/sysdeps/linux/common/stubs.c
+++ b/libc/sysdeps/linux/common/stubs.c
@@ -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
More information about the uClibc-cvs
mailing list