projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5723934
)
Make utility.c only define query_module when BB_FEATURE_NEW_MODULE_INTERFACE
author
Eric Andersen
<andersen@codepoet.org>
Fri, 23 Feb 2001 01:58:18 +0000
(
01:58
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Fri, 23 Feb 2001 01:58:18 +0000
(
01:58
-0000)
is enabled.
-Erik
utility.c
patch
|
blob
|
history
diff --git
a/utility.c
b/utility.c
index
f96cab5
..
9ee23c1
100644
(file)
--- a/
utility.c
+++ b/
utility.c
@@
-200,7
+200,8
@@
extern _syscall5(int, mount, const char *, special_file, const char *, dir,
const char *, fstype, unsigned long int, rwflag, const void *, data);
#endif
-#if defined BB_INSMOD || defined BB_LSMOD
+#if defined BB_FEATURE_NEW_MODULE_INTERFACE &&
+ (defined BB_INSMOD || defined BB_LSMOD)
#ifndef __NR_query_module
static const int __NR_query_module = 167;
#endif