diff options
author | ed <ed@FreeBSD.org> | 2011-12-13 14:06:01 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-12-13 14:06:01 +0000 |
commit | 8f4291328fc8c526ced0d1d7afe013bc464ae0c3 (patch) | |
tree | 6511ce1e1f47db206a8f3a23f568bfc5fc44a836 /sys/boot | |
parent | 036b3a534b9846a059e610aff7167bf252da5fdd (diff) | |
download | FreeBSD-src-8f4291328fc8c526ced0d1d7afe013bc464ae0c3.zip FreeBSD-src-8f4291328fc8c526ced0d1d7afe013bc464ae0c3.tar.gz |
Replace `inline static' by `static inline'.
If I interpret the C standard correctly, the storage specifier should be
placed before the inline keyword. While at it, replace __inline by
inline in the files affected.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/arm/at91/libat91/sd-card.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/arm/at91/libat91/sd-card.c b/sys/boot/arm/at91/libat91/sd-card.c index d0b7beb..acc8e33 100644 --- a/sys/boot/arm/at91/libat91/sd-card.c +++ b/sys/boot/arm/at91/libat91/sd-card.c @@ -94,14 +94,14 @@ MCIDeviceWaitReady(unsigned int timeout) } // End of if AT91C_MCI_RXBUFF } -inline static unsigned int +static inline unsigned int swap(unsigned int a) { return (((a & 0xff) << 24) | ((a & 0xff00) << 8) | ((a & 0xff0000) >> 8) | ((a & 0xff000000) >> 24)); } -inline static void +static inline void wait_ready() { int status; |