From e375e8c732427edf2f4efa853012e40b8cee481f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 29 Mar 2006 18:57:09 +0000 Subject: [PATCH] - we only need obj_gpl_license if ENABLE_FEATURE_CHECK_TAINTED_MODULE is set --- modutils/insmod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modutils/insmod.c b/modutils/insmod.c index efa0499e4..2eebf560f 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -681,9 +681,9 @@ static enum obj_reloc arch_apply_relocation (struct obj_file *f, ElfW(RelM) *rel, ElfW(Addr) value); static void arch_create_got (struct obj_file *f); - +#if ENABLE_FEATURE_CHECK_TAINTED_MODULE static int obj_gpl_license(struct obj_file *f, const char **license); - +#endif /* ENABLE_FEATURE_CHECK_TAINTED_MODULE */ #endif /* obj.h */ //---------------------------------------------------------------------------- //--------end of modutils obj.h