Skip to contentSkip to conversation

binfmt_script.c: make struct script_format static

PATCH New Adrian Bunk 1 participant 1 message Oct 30, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binfmt_script.c: make struct script_format static

The patch below makes struct script_format in fs/binfmt_script.c static.

fs/binfmt_script.c renamed from fs/binfmt_script.c.old +1 -1
@@ -96,7 +96,7 @@
 	return search_binary_handler(bprm,regs);
 }
 
-struct linux_binfmt script_format = {
+static struct linux_binfmt script_format = {
 	.module		= THIS_MODULE,
 	.load_binary	= load_script,
 };