aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-23 01:58:18 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-23 01:58:18 +0000
commit2f3105725faa3a1b2657df020ed900096abe7754 (patch)
tree67c7152653ed97c141503e79754d463ca12d540e
parent5723934f7c6f08769e0767eec4db0c88cdeda5c9 (diff)
downloadbusybox-w32-2f3105725faa3a1b2657df020ed900096abe7754.tar.gz
busybox-w32-2f3105725faa3a1b2657df020ed900096abe7754.tar.bz2
busybox-w32-2f3105725faa3a1b2657df020ed900096abe7754.zip
Make utility.c only define query_module when BB_FEATURE_NEW_MODULE_INTERFACE
is enabled. -Erik
-rw-r--r--utility.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index f96cab5b0..9ee23c1ab 100644
--- a/utility.c
+++ b/utility.c
@@ -200,7 +200,8 @@ extern _syscall5(int, mount, const char *, special_file, const char *, dir,
200 const char *, fstype, unsigned long int, rwflag, const void *, data); 200 const char *, fstype, unsigned long int, rwflag, const void *, data);
201#endif 201#endif
202 202
203#if defined BB_INSMOD || defined BB_LSMOD 203#if defined BB_FEATURE_NEW_MODULE_INTERFACE &&
204 (defined BB_INSMOD || defined BB_LSMOD)
204#ifndef __NR_query_module 205#ifndef __NR_query_module
205static const int __NR_query_module = 167; 206static const int __NR_query_module = 167;
206#endif 207#endif