summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/create_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/create_module.c')
-rw-r--r--libc/sysdeps/linux/common/create_module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/create_module.c b/libc/sysdeps/linux/common/create_module.c
index 461ba5bc5..9a5c2d267 100644
--- a/libc/sysdeps/linux/common/create_module.c
+++ b/libc/sysdeps/linux/common/create_module.c
@@ -13,6 +13,8 @@
#ifdef __NR_create_module
+unsigned long create_module(const char *name, size_t size);
+
#if defined(__UCLIBC_BROKEN_CREATE_MODULE__)
# define __NR___create_module __NR_create_module
static inline _syscall2(long, __create_module, const char *, name, size_t, size);
@@ -46,6 +48,7 @@ _syscall2(unsigned long, create_module, const char *, name, size_t, size);
#endif
#else /* !__NR_create_module */
+caddr_t create_module(const char *name attribute_unused, size_t size attribute_unused);
caddr_t create_module(const char *name attribute_unused, size_t size attribute_unused)
{
__set_errno(ENOSYS);