diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-06-22 20:10:53 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-06-22 20:10:53 +0000 |
commit | 5275b1e49f62c273f5d3ef14f093eb8661f54843 (patch) | |
tree | 65fbf2f152cd1f06d48aa853e0412be2ca2a6639 | |
parent | fac312d78bf34833c629232fa5055408715cb65b (diff) | |
download | busybox-w32-5275b1e49f62c273f5d3ef14f093eb8661f54843.tar.gz busybox-w32-5275b1e49f62c273f5d3ef14f093eb8661f54843.tar.bz2 busybox-w32-5275b1e49f62c273f5d3ef14f093eb8661f54843.zip |
fix a stupid compile error when CONFIG_FEATURE_INSMOD_VERSION_CHECKING
is disabled
-rw-r--r-- | modutils/insmod.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 1023d0872..50cf007f0 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -290,7 +290,7 @@ extern int insmod_ng_main( int argc, char **argv); | |||
290 | #ifndef MODUTILS_MODULE_H | 290 | #ifndef MODUTILS_MODULE_H |
291 | static const int MODUTILS_MODULE_H = 1; | 291 | static const int MODUTILS_MODULE_H = 1; |
292 | 292 | ||
293 | #ident "$Id: insmod.c,v 1.120 2004/06/22 11:50:52 andersen Exp $" | 293 | #ident "$Id: insmod.c,v 1.121 2004/06/22 20:10:53 andersen Exp $" |
294 | 294 | ||
295 | /*======================================================================*/ | 295 | /*======================================================================*/ |
296 | /* For sizeof() which are related to the module platform and not to the | 296 | /* For sizeof() which are related to the module platform and not to the |
@@ -448,7 +448,7 @@ int delete_module(const char *); | |||
448 | #ifndef MODUTILS_OBJ_H | 448 | #ifndef MODUTILS_OBJ_H |
449 | static const int MODUTILS_OBJ_H = 1; | 449 | static const int MODUTILS_OBJ_H = 1; |
450 | 450 | ||
451 | #ident "$Id: insmod.c,v 1.120 2004/06/22 11:50:52 andersen Exp $" | 451 | #ident "$Id: insmod.c,v 1.121 2004/06/22 20:10:53 andersen Exp $" |
452 | 452 | ||
453 | /* The relocatable object is manipulated using elfin types. */ | 453 | /* The relocatable object is manipulated using elfin types. */ |
454 | 454 | ||
@@ -3607,6 +3607,7 @@ extern int insmod_main( int argc, char **argv) | |||
3607 | { | 3607 | { |
3608 | int opt; | 3608 | int opt; |
3609 | int len; | 3609 | int len; |
3610 | int k_crcs; | ||
3610 | char *tmp, *tmp1; | 3611 | char *tmp, *tmp1; |
3611 | unsigned long m_size; | 3612 | unsigned long m_size; |
3612 | ElfW(Addr) m_addr; | 3613 | ElfW(Addr) m_addr; |
@@ -3618,8 +3619,7 @@ extern int insmod_main( int argc, char **argv) | |||
3618 | #ifdef CONFIG_FEATURE_INSMOD_VERSION_CHECKING | 3619 | #ifdef CONFIG_FEATURE_INSMOD_VERSION_CHECKING |
3619 | struct utsname uts_info; | 3620 | struct utsname uts_info; |
3620 | char m_strversion[STRVERSIONLEN]; | 3621 | char m_strversion[STRVERSIONLEN]; |
3621 | int m_version; | 3622 | int m_version, m_crcs; |
3622 | int k_crcs, m_crcs; | ||
3623 | #endif | 3623 | #endif |
3624 | #ifdef CONFIG_FEATURE_CLEAN_UP | 3624 | #ifdef CONFIG_FEATURE_CLEAN_UP |
3625 | FILE *fp = 0; | 3625 | FILE *fp = 0; |