diff options
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 3 | ||||
-rw-r--r-- | modutils/lsmod.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 079de69..6274a8d 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -3680,6 +3680,9 @@ static void check_tainted_module(struct obj_file *f, char *m_name) * start of some sections. this info is used by ksymoops to do better * debugging. */ +#if !ENABLE_FEATURE_INSMOD_VERSION_CHECKING +#define get_module_version(f, str) get_module_version(str) +#endif static int get_module_version(struct obj_file *f, char str[STRVERSIONLEN]) { diff --git a/modutils/lsmod.c b/modutils/lsmod.c index baf0e2a..da8663a 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c @@ -75,7 +75,7 @@ enum { }; int lsmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int lsmod_main(int argc, char **argv) +int lsmod_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { struct module_info info; char *module_names, *mn, *deps, *dn; |