Nordic nrf51 sdk sources. Mirrored from https://github.com/ARMmbed/nrf51-sdk.
Revision 18:9807c92f0ca3, committed 2016-04-07
- Comitter:
- vcoubard
- Date:
- Thu Apr 07 17:37:35 2016 +0100
- Parent:
- 17:03954fd2b563
- Child:
- 19:47192cb9def7
- Commit message:
- Synchronized with git rev a4a64122
Author: Andres Amaya Garcia
Add GCC diagnostics to suppress unused-parameter warnings
Changed in this revision
source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h Thu Apr 07 17:37:33 2016 +0100 +++ b/source/nordic_sdk/components/softdevice/s130/headers/nrf_svc.h Thu Apr 07 17:37:35 2016 +0100 @@ -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 \