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/pc98/cbus | |
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/pc98/cbus')
-rw-r--r-- | sys/pc98/cbus/scterm-sck.c | 4 | ||||
-rw-r--r-- | sys/pc98/cbus/scvtb.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/scterm-sck.c b/sys/pc98/cbus/scterm-sck.c index b4bf70f..5232b20 100644 --- a/sys/pc98/cbus/scterm-sck.c +++ b/sys/pc98/cbus/scterm-sck.c @@ -133,7 +133,7 @@ static void scterm_scan_esc(scr_stat *scp, term_stat *tcp, static int mask2attr(term_stat *tcp); #ifdef KANJI -__inline static u_char +static inline u_char iskanji1(u_char mode, u_char c) { if (c > 0x80) { @@ -186,7 +186,7 @@ iskanji1(u_char mode, u_char c) return KTYPE_ASCII; } -__inline static u_char +static inline u_char iskanji2(u_char mode, u_char c) { switch (mode) { diff --git a/sys/pc98/cbus/scvtb.c b/sys/pc98/cbus/scvtb.c index 2d0ea3f..c25ef14 100644 --- a/sys/pc98/cbus/scvtb.c +++ b/sys/pc98/cbus/scvtb.c @@ -174,7 +174,7 @@ sc_vtb_geta(sc_vtb_t *vtb, int at) return (*(u_int16_t *)(p + attr_offset(vtb)) & 0xff00); } -__inline static void +static inline void vtb_putc(sc_vtb_t *vtb, vm_offset_t p, int c, int a) { if (vtb->vtb_type == VTB_FRAMEBUFFER) { |