From a4a6412210f9dcc59a03a818045a5f814ae7a565 Mon Sep 17 00:00:00 2001 From: Andres Amaya Garcia Date: Wed, 2 Dec 2015 16:16:32 +0000 Subject: [PATCH] Add GCC diagnostics to suppress unused-parameter warnings --- source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h b/source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h index 91c3bc1..d72e9c1 100644 --- a/source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h +++ b/source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h @@ -43,6 +43,7 @@ #elif defined (__GNUC__) #define SVCALL(number, return_type, signature) \ _Pragma("GCC diagnostic ignored \"-Wunused-function\"") \ + _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \ _Pragma("GCC diagnostic push") \ _Pragma("GCC diagnostic ignored \"-Wreturn-type\"") \ __attribute__((naked)) static return_type signature \