[BusyBox-cvs] busybox/libbb module_syscalls.c,1.14,1.15
Manuel Novoa III
mjn3 at busybox.net
Sat Mar 6 00:32:57 UTC 2004
Update of /var/cvs/busybox/libbb
In directory nail:/tmp/cvs-serv31398
Modified Files:
module_syscalls.c
Log Message:
Don't build these support functions for uClibc, as it always supplies
versions.
Index: module_syscalls.c
===================================================================
RCS file: /var/cvs/busybox/libbb/module_syscalls.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- a/module_syscalls.c 13 Feb 2004 08:09:43 -0000 1.14
+++ b/module_syscalls.c 6 Mar 2004 00:32:54 -0000 1.15
@@ -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 @@
}
+#endif /* __UCLIBC__ */
+
/* END CODE */
/*
Local Variables:
More information about the busybox-cvs
mailing list