summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/query_module.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-09-26 23:54:59 +0000
committerMike Frysinger <vapier@gentoo.org>2008-09-26 23:54:59 +0000
commit58e11d24b86e46689ecb26a8f897bb4588341aad (patch)
tree95a7e08b8ec6ae29f0caf143f345849be29fe928 /libc/sysdeps/linux/common/query_module.c
parentdef602f4d2042a5153b6c7dd86c961ddc05061dc (diff)
use __UCLIBC_HAS_STUBS__
Diffstat (limited to 'libc/sysdeps/linux/common/query_module.c')
-rw-r--r--libc/sysdeps/linux/common/query_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/query_module.c b/libc/sysdeps/linux/common/query_module.c
index b0b72dea9..a69b39634 100644
--- a/libc/sysdeps/linux/common/query_module.c
+++ b/libc/sysdeps/linux/common/query_module.c
@@ -13,7 +13,7 @@ int query_module(const char *name attribute_unused, int which attribute_unused,
#ifdef __NR_query_module
_syscall5(int, query_module, const char *, name, int, which,
void *, buf, size_t, bufsize, size_t *, ret);
-#else
+#elif defined __UCLIBC_HAS_STUBS__
int query_module(const char *name attribute_unused, int which attribute_unused,
void *buf attribute_unused, size_t bufsize attribute_unused, size_t * ret attribute_unused)
{