- we only need obj_gpl_license if ENABLE_FEATURE_CHECK_TAINTED_MODULE is set
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 29 Mar 2006 18:57:09 +0000 (18:57 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 29 Mar 2006 18:57:09 +0000 (18:57 -0000)
modutils/insmod.c

index efa0499e49e4ce771692046d8ab2fc7354c816e6..2eebf560f42e0428d118b984cec6ad59c469bd8d 100644 (file)
@@ -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