aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-12-13 14:06:01 +0000
committerEd Schouten <ed@FreeBSD.org>2011-12-13 14:06:01 +0000
commit75da3c1a9be663083e48f931994c1caae3f9b7a9 (patch)
tree6511ce1e1f47db206a8f3a23f568bfc5fc44a836 /sys/pc98
parent9910b854c628e6c2550e5b9644930e076c2b7403 (diff)
downloadsrc-75da3c1a9be663083e48f931994c1caae3f9b7a9.tar.gz
src-75da3c1a9be663083e48f931994c1caae3f9b7a9.zip
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.
Notes
Notes: svn path=/head/; revision=228471
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/scterm-sck.c4
-rw-r--r--sys/pc98/cbus/scvtb.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/scterm-sck.c b/sys/pc98/cbus/scterm-sck.c
index b4bf70ffa4fe..5232b20ccc9a 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 2d0ea3f03284..c25ef14938f9 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) {