aboutsummaryrefslogtreecommitdiff
path: root/src/lib/gcc.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-10 15:42:55 -0800
committerMartin Roth <martinroth@google.com>2017-03-13 17:21:26 +0100
commit696ced6cfbd12f174b9064985cf6cd2c3bf1d339 (patch)
tree6adacf1c7a67e5611ef263bbff10ed69f3cc351b /src/lib/gcc.c
parent342f8d6e507b1a5c8dfd3f48936fed32ed0997e4 (diff)
src/lib: Move asmlinkage before type
Fix the following warning detected by checkpatch.pl: WARNING: storage class should be at the beginning of the declaration TEST=Build and run on Galileo Gen2 Change-Id: I7d3135466634a4bb84dcef16dbd68754f8d8d6c2 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18760 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/lib/gcc.c')
-rw-r--r--src/lib/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gcc.c b/src/lib/gcc.c
index a576a7762e..5a93f45e34 100644
--- a/src/lib/gcc.c
+++ b/src/lib/gcc.c
@@ -25,7 +25,7 @@
* specific implementations may vary
*/
#define WRAP_LIBGCC_CALL(type, name) \
- type __real_##name(type a, type b) asmlinkage; \
+ asmlinkage type __real_##name(type a, type b); \
type __wrap_##name(type a, type b); \
type __wrap_##name(type a, type b) { return __real_##name(a, b); }