fix a stupid compile error when CONFIG_FEATURE_INSMOD_VERSION_CHECKING

is disabled
This commit is contained in:
Eric Andersen 2004-06-22 20:10:53 +00:00
parent fac312d78b
commit 5275b1e49f

View File

@ -290,7 +290,7 @@ extern int insmod_ng_main( int argc, char **argv);
#ifndef MODUTILS_MODULE_H #ifndef MODUTILS_MODULE_H
static const int MODUTILS_MODULE_H = 1; 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 /* 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 #ifndef MODUTILS_OBJ_H
static const int MODUTILS_OBJ_H = 1; 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. */ /* The relocatable object is manipulated using elfin types. */
@ -3607,6 +3607,7 @@ extern int insmod_main( int argc, char **argv)
{ {
int opt; int opt;
int len; int len;
int k_crcs;
char *tmp, *tmp1; char *tmp, *tmp1;
unsigned long m_size; unsigned long m_size;
ElfW(Addr) m_addr; ElfW(Addr) m_addr;
@ -3618,8 +3619,7 @@ extern int insmod_main( int argc, char **argv)
#ifdef CONFIG_FEATURE_INSMOD_VERSION_CHECKING #ifdef CONFIG_FEATURE_INSMOD_VERSION_CHECKING
struct utsname uts_info; struct utsname uts_info;
char m_strversion[STRVERSIONLEN]; char m_strversion[STRVERSIONLEN];
int m_version; int m_version, m_crcs;
int k_crcs, m_crcs;
#endif #endif
#ifdef CONFIG_FEATURE_CLEAN_UP #ifdef CONFIG_FEATURE_CLEAN_UP
FILE *fp = 0; FILE *fp = 0;