kernel/configs.c: make a variable static
PATCH 1/1 kernel/configs.c: make a variable static
This patch makes a needlessly global variable static.
Signed-off-by Adrian Bunk <[email protected]>
---
This patch was already sent on:
- 12 Dec 2004
kernel/Makefile renamed from kernel/Makefile.old +1 -1
@@ -48,7 +48,7 @@ $(call if_changed,gzip) quiet_cmd_ikconfiggz = IKCFG $@ - cmd_ikconfiggz = (echo "const char kernel_config_data[] = MAGIC_START"; cat $< | scripts/bin2c; echo "MAGIC_END;") > $@ + cmd_ikconfiggz = (echo "static const char kernel_config_data[] = MAGIC_START"; cat $< | scripts/bin2c; echo "MAGIC_END;") > $@ targets += config_data.h $(obj)/config_data.h: $(obj)/config_data.gz FORCE $(call if_changed,ikconfiggz)
Quoted 3 lines · Adrian Bunk
This patch makes a needlessly global variable static.
Signed-off-by Adrian Bunk <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Quoted 18 lines
---
This patch was already sent on:
- 12 Dec 2004kernel/Makefile renamed from kernel/Makefile.old +1
-2@@ -48,7 +48,7 @@ $(call if_changed,gzip) quiet_cmd_ikconfiggz = IKCFG $@ - cmd_ikconfiggz = (echo "const char kernel_config_data[] = MAGIC_START"; cat $< | scripts/bin2c; echo "MAGIC_END;") > $@ + cmd_ikconfiggz = (echo "static const char kernel_config_data[] = MAGIC_START"; cat $< | scripts/bin2c; echo "MAGIC_END;") > $@ targets += config_data.h $(obj)/config_data.h: $(obj)/config_data.gz FORCE $(call if_changed,ikconfiggz) -
Signature · 1 line
~Randy
Sam Ravnborg
AppliedQuoted 1 line · Adrian Bunk
This patch makes a needlessly global variable static.
Applied.
Sam