From: Felipe Balbi Date: Wed, 15 Dec 2010 12:28:17 +0000 (+0200) Subject: scripts: signGP: mark struct as static X-Git-Tag: v1.5.0~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e85675b10a1bb8576cdb5a40bbd26f78cc25c092;p=pandora-x-loader.git scripts: signGP: mark struct as static that will never be used outside this file anyway. Signed-off-by: Felipe Balbi Acked-by: Nishanth Menon Signed-off-by: Anand Gadiyar --- diff --git a/scripts/signGP.c b/scripts/signGP.c index 062c45f..f14bf59 100644 --- a/scripts/signGP.c +++ b/scripts/signGP.c @@ -138,7 +138,7 @@ struct ch_chsettings_nochram { #ifdef CH_WITH_CHRAM -const struct ch_chsettings_chram config_header = { +static const struct ch_chsettings_chram config_header = { /* CHSETTINGS TOC */ {sizeof(struct ch_toc) * 4, sizeof(struct chsettings), @@ -208,7 +208,8 @@ const struct ch_chsettings_chram config_header = { "" }; #else -struct ch_chsettings_nochram config_header __attribute__((section(".config_header"))) = { +static struct ch_chsettings_nochram config_header + __attribute__((section(".config_header"))) = { /* CHSETTINGS TOC */ {(sizeof(struct ch_toc)) * 2, sizeof(struct chsettings),