summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/delete_module.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-23 07:38:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-23 07:53:31 +0100
commitc7294c98c891e56f6507cbbf9441fce17c92e41a (patch)
tree7cd5dcbe05c788475d54fd47b0cbc091b75103ea /libc/sysdeps/linux/common/delete_module.c
parent6d4d6e2cfc6b7ea247adca2d3ae137a68c4e5148 (diff)
remove UCLIBC_LINUX_MODULE_26
The syscall wrappers are not required and other C libraries do not provide them. Busybox modutils.c must be patched so that syscall() is used for uClibc-ng. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'libc/sysdeps/linux/common/delete_module.c')
-rw-r--r--libc/sysdeps/linux/common/delete_module.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libc/sysdeps/linux/common/delete_module.c b/libc/sysdeps/linux/common/delete_module.c
deleted file mode 100644
index 05841d413..000000000
--- a/libc/sysdeps/linux/common/delete_module.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* vi: set sw=4 ts=4: */
-/*
- * delete_module() for uClibc
- * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
- *
- * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
- */
-
-#include <sys/syscall.h>
-#ifdef __NR_delete_module
-int delete_module(const char *name, unsigned int flags);
-_syscall2(int, delete_module, const char *, name, unsigned int, flags)
-#endif