From a740502a3d857a70f64fe31fda87b775d4cf1126 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 12 Mar 2004 00:21:20 +0000 Subject: Cope gracefully with missing module syscalls --- libc/sysdeps/linux/common/delete_module.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/delete_module.c') diff --git a/libc/sysdeps/linux/common/delete_module.c b/libc/sysdeps/linux/common/delete_module.c index bcdb7a811..e739a7a4f 100644 --- a/libc/sysdeps/linux/common/delete_module.c +++ b/libc/sysdeps/linux/common/delete_module.c @@ -8,12 +8,12 @@ */ #include "syscalls.h" -# ifdef __NR_delete_module +#ifdef __NR_delete_module _syscall1(int, delete_module, const char *, name); -# else +#else int delete_module(const char *name) { __set_errno(ENOSYS); return -1; } -# endif +#endif -- cgit v1.2.3