diff options
author | Jean-Christian de Rivaz <jc@eclis.ch> | 2011-11-02 20:44:00 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-11-04 11:44:26 +0100 |
commit | d10475f8237e66f6a00b65427758c98d80cb381d (patch) | |
tree | 1c4db112c9372b795489abda4a2d1df719fb0a4c /libc/sysdeps/linux/common/stubs.c | |
parent | 7ae07d4f028849d30b4f260b3261d634f16d7331 (diff) |
Add stub for eventfd.
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>
Diffstat (limited to 'libc/sysdeps/linux/common/stubs.c')
-rw-r--r-- | 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 1e5490351..70addec0b 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 |