summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-29 18:57:09 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-29 18:57:09 +0000
commite375e8c732427edf2f4efa853012e40b8cee481f (patch)
tree1a0614ef7ccf0b5e0f0b76c471879a5971638c84
parent56dd0bff06b4ecdc6ea92783b7d91d6cfe088f36 (diff)
- we only need obj_gpl_license if ENABLE_FEATURE_CHECK_TAINTED_MODULE is set
-rw-r--r--modutils/insmod.c4
1 files 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