summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/include
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2005-12-24 20:06:46 +0000
committerperry <perry@NetBSD.org>2005-12-24 20:06:46 +0000
commit5f1c88d70d1b3cd73104f217a48141b4e0e3434d (patch)
treebf1e973008b2f1d218b908dd66ddd91e3fb6cf29 /sys/arch/mvmeppc/include
parenta2cd732268201e59a69ccf2bfd390176b5c270a6 (diff)
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Diffstat (limited to 'sys/arch/mvmeppc/include')
-rw-r--r--sys/arch/mvmeppc/include/intr.h14
-rw-r--r--sys/arch/mvmeppc/include/kgdb.h8
2 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/mvmeppc/include/intr.h b/sys/arch/mvmeppc/include/intr.h
index ad960480ea9..6eead34cb80 100644
--- a/sys/arch/mvmeppc/include/intr.h
+++ b/sys/arch/mvmeppc/include/intr.h
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.6 2005/12/11 12:18:19 christos Exp $ */
+/* $NetBSD: intr.h,v 1.7 2005/12/24 20:07:19 perry Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -94,9 +94,9 @@ void isa_intr_mask(int);
void isa_intr_clr(int);
void isa_setirqstat(int, int, int);
-static __inline int splraise(int);
-static __inline void spllower(int);
-static __inline void set_sint(int);
+static inline int splraise(int);
+static inline void spllower(int);
+static inline void set_sint(int);
extern volatile int cpl, ipending, astpending, tickspending;
extern int imen;
@@ -112,7 +112,7 @@ extern vaddr_t mvmeppc_intr_reg;
* achieved with the "eieio" instruction which the assembler
* seems to detect and then doesn't move instructions past....
*/
-static __inline int
+static inline int
splraise(int newcpl)
{
int oldcpl;
@@ -124,7 +124,7 @@ splraise(int newcpl)
return(oldcpl);
}
-static __inline void
+static inline void
spllower(int newcpl)
{
@@ -137,7 +137,7 @@ spllower(int newcpl)
/* Following code should be implemented with lwarx/stwcx to avoid
* the disable/enable. i need to read the manual once more.... */
-static __inline void
+static inline void
set_sint(int pending)
{
int msrsave;
diff --git a/sys/arch/mvmeppc/include/kgdb.h b/sys/arch/mvmeppc/include/kgdb.h
index 7633f4a3f93..5eb5cfb8d38 100644
--- a/sys/arch/mvmeppc/include/kgdb.h
+++ b/sys/arch/mvmeppc/include/kgdb.h
@@ -1,4 +1,4 @@
-/* $NetBSD: kgdb.h,v 1.1 2002/02/27 21:02:17 scw Exp $ */
+/* $NetBSD: kgdb.h,v 1.2 2005/12/24 20:07:19 perry Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -45,7 +45,7 @@ extern int kgdbregs[NREG];
extern char kgdbstep;
/* Doesn't handle overlapping regions */
-__inline extern void
+inline extern void
kgdbcopy(s,d,n)
void *s, *d;
int n;
@@ -56,7 +56,7 @@ kgdbcopy(s,d,n)
*dp++ = *sp++;
}
-__inline extern void
+inline extern void
kgdbzero(d,n)
void *d;
int n;
@@ -67,7 +67,7 @@ kgdbzero(d,n)
*dp++ = 0;
}
-__inline extern int
+inline extern int
kgdbcmp(s,d,n)
void *s, *d;
{