diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 18:21:33 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 18:21:33 +0000 |
commit | 28c8634afdc1fa236679b49ab0d5a019379c6db1 (patch) | |
tree | fda9d6e124a32799b07247f8d38d0cc8f963cd4e /libc/sysdeps/linux/common/delete_module.c | |
parent | eb38b2d34c32ed3089e2bf8935219a57f84ce7b3 (diff) | |
download | uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.bz2 uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.xz |
Synch with trunk @ 24165
Step 17: libc_hidden_proto removal (almost all).
and other minor changes (inline keyword, extra character)
Diffstat (limited to 'libc/sysdeps/linux/common/delete_module.c')
-rw-r--r-- | libc/sysdeps/linux/common/delete_module.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/delete_module.c b/libc/sysdeps/linux/common/delete_module.c index a93921411..44f9b30ae 100644 --- a/libc/sysdeps/linux/common/delete_module.c +++ b/libc/sysdeps/linux/common/delete_module.c @@ -7,11 +7,11 @@ */ #include <sys/syscall.h> -int delete_module(const char *name); +int delete_module(const char *name, unsigned int flags); #ifdef __NR_delete_module -_syscall1(int, delete_module, const char *, name); -#else -int delete_module(const char *name) +_syscall2(int, delete_module, const char *, name, unsigned int, flags) +#elif defined __UCLIBC_HAS_STUBS__ +int delete_module(const char *name, unsigned int flags) { __set_errno(ENOSYS); return -1; |