Skip to content

Commit

Permalink
Merge pull request #7 from andresag01/master
Browse files Browse the repository at this point in the history
Add GCC diagnostics to suppress unused-parameter warnings
  • Loading branch information
LiyouZhou committed Dec 7, 2015
2 parents ea51baa + a4a6412 commit 13cb068
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 13cb068

Please sign in to comment.