From e85675b10a1bb8576cdb5a40bbd26f78cc25c092 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Wed, 15 Dec 2010 14:28:17 +0200 Subject: [PATCH] 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 --- scripts/signGP.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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), -- 2.39.5