/* 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