summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen2004-06-22 20:10:53 +0000
committerEric Andersen2004-06-22 20:10:53 +0000
commit5275b1e49f62c273f5d3ef14f093eb8661f54843 (patch)
tree65fbf2f152cd1f06d48aa853e0412be2ca2a6639 /modutils
parentfac312d78bf34833c629232fa5055408715cb65b (diff)
downloadbusybox-5275b1e49f62c273f5d3ef14f093eb8661f54843.zip
busybox-5275b1e49f62c273f5d3ef14f093eb8661f54843.tar.gz
fix a stupid compile error when CONFIG_FEATURE_INSMOD_VERSION_CHECKING
is disabled
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 1023d08..50cf007 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -290,7 +290,7 @@ extern int insmod_ng_main( int argc, char **argv);
#ifndef MODUTILS_MODULE_H
static const int MODUTILS_MODULE_H = 1;
-#ident "$Id: insmod.c,v 1.120 2004/06/22 11:50:52 andersen Exp $"
+#ident "$Id: insmod.c,v 1.121 2004/06/22 20:10:53 andersen Exp $"
/*======================================================================*/
/* For sizeof() which are related to the module platform and not to the
@@ -448,7 +448,7 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
static const int MODUTILS_OBJ_H = 1;
-#ident "$Id: insmod.c,v 1.120 2004/06/22 11:50:52 andersen Exp $"
+#ident "$Id: insmod.c,v 1.121 2004/06/22 20:10:53 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */
@@ -3607,6 +3607,7 @@ extern int insmod_main( int argc, char **argv)
{
int opt;
int len;
+ int k_crcs;
char *tmp, *tmp1;
unsigned long m_size;
ElfW(Addr) m_addr;
@@ -3618,8 +3619,7 @@ extern int insmod_main( int argc, char **argv)
#ifdef CONFIG_FEATURE_INSMOD_VERSION_CHECKING
struct utsname uts_info;
char m_strversion[STRVERSIONLEN];
- int m_version;
- int k_crcs, m_crcs;
+ int m_version, m_crcs;
#endif
#ifdef CONFIG_FEATURE_CLEAN_UP
FILE *fp = 0;