diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2022-07-05 15:36:05 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2022-07-05 15:36:05 +0200 |
commit | 26d1e281541d8522665fe4f9ee905e49ed9baacf (patch) | |
tree | 862d28f6fba81a55db76d4da60a55df1e6db2f05 /test/regression/alias.c | |
parent | 353669f8f175adabf878be0334a1979c439778af (diff) | |
download | compcert-26d1e281541d8522665fe4f9ee905e49ed9baacf.tar.gz compcert-26d1e281541d8522665fe4f9ee905e49ed9baacf.zip |
In test/regression: Use `static inline` instead of `inline`
Fixes: #441
Diffstat (limited to 'test/regression/alias.c')
-rw-r--r-- | test/regression/alias.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regression/alias.c b/test/regression/alias.c index 925979cb..7ee2a1ea 100644 --- a/test/regression/alias.c +++ b/test/regression/alias.c @@ -72,7 +72,7 @@ int get4(void) /* Byte-swapping a pointer. For 32/64 bit compatibility, we just swap the two low bytes, but that's in the spirit. */ -inline uintptr_t bswap(uintptr_t x) +static inline uintptr_t bswap(uintptr_t x) { return (x & ~((uintptr_t) 0xFFFF)) | ((x >> 8) & 0xFF) |