blob: 44f9b30aec683818c6a042d5efeed8590f254d51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* 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>
int delete_module(const char *name, unsigned int flags);
#ifdef __NR_delete_module
_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;
}
#endif
|