From 035a30602bc00df5f38b2a6d4bb88a4cca4e2766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Date: Mon, 18 Nov 2013 11:57:59 +0100 Subject: [PATCH] cc2538: lpm: Make periph_permit_pm1_funcs static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit periph_permit_pm1_funcs[] is a private member of lpm.c, so define it as static. Signed-off-by: Benoît Thébaudeau --- cpu/cc2538/lpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cc2538/lpm.c b/cpu/cc2538/lpm.c index 709665e5b..bbc035219 100644 --- a/cpu/cc2538/lpm.c +++ b/cpu/cc2538/lpm.c @@ -105,7 +105,7 @@ static uint8_t max_pm; #define LPM_PERIPH_PERMIT_PM1_FUNCS_MAX 2 #endif -lpm_periph_permit_pm1_func_t +static lpm_periph_permit_pm1_func_t periph_permit_pm1_funcs[LPM_PERIPH_PERMIT_PM1_FUNCS_MAX]; /*---------------------------------------------------------------------------*/ static bool