fix printf warning
[oweals/busybox.git] / libbb / module_syscalls.c
index 9dca6f04f602a5723333fca25a8ea67a4f42dfe8..a2ff5284ac35731c3643e2ffac4f71e2e94ef4d4 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * some system calls possibly missing from libc
  *
- * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org>
+ * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -26,6 +26,8 @@
 #include <sys/syscall.h>
 #include "libbb.h"
 
+/* uClibc always supplies (possibly ENOSYS) versions of these functions. */
+#ifndef __UCLIBC__
 
 /* These syscalls are not included in very old glibc versions */
 int delete_module(const char *name)
@@ -101,6 +103,8 @@ unsigned long create_module(const char *name, size_t size)
 }
 
 
+#endif /* __UCLIBC__ */
+
 /* END CODE */
 /*
 Local Variables: