diff options
Diffstat (limited to 'sys/arch/sparc64/include/psl.h')
-rw-r--r-- | sys/arch/sparc64/include/psl.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/arch/sparc64/include/psl.h b/sys/arch/sparc64/include/psl.h index 0bad01843ec..392e4d4a738 100644 --- a/sys/arch/sparc64/include/psl.h +++ b/sys/arch/sparc64/include/psl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: psl.h,v 1.2 2001/08/18 19:46:04 art Exp $ */ +/* $OpenBSD: psl.h,v 1.3 2002/03/14 01:26:45 millert Exp $ */ /* $NetBSD: psl.h,v 1.20 2001/04/13 23:30:05 thorpej Exp $ */ /* @@ -253,14 +253,14 @@ #if defined(_KERNEL) && !defined(_LOCORE) extern u_int64_t ver; /* Copy of v9 version register. We need to read this only once, in locore.s. */ -static __inline int getpstate __P((void)); -static __inline void setpstate __P((int)); -static __inline int getcwp __P((void)); -static __inline void setcwp __P((int)); +static __inline int getpstate(void); +static __inline void setpstate(int); +static __inline int getcwp(void); +static __inline void setcwp(int); #ifndef SPLDEBUG -static __inline void splx __P((int)); +static __inline void splx(int); #endif -static __inline u_int64_t getver __P((void)); +static __inline u_int64_t getver(void); /* * GCC pseudo-functions for manipulating privileged registers @@ -306,11 +306,11 @@ static __inline u_int64_t getver() */ #ifdef SPLDEBUG -void prom_printf __P((const char *fmt, ...)); +void prom_printf(const char *fmt, ...); extern int printspl; #define SPLPRINT(x) if(printspl) { int i=10000000; prom_printf x ; while(i--); } #define SPL(name, newpil) \ -static __inline int name##X __P((const char*, int)); \ +static __inline int name##X(const char*, int); \ static __inline int name##X(const char* file, int line) \ { \ int oldpil; \ @@ -321,7 +321,7 @@ static __inline int name##X(const char* file, int line) \ } /* A non-priority-decreasing version of SPL */ #define SPLHOLD(name, newpil) \ -static __inline int name##X __P((const char*, int)); \ +static __inline int name##X(const char*, int); \ static __inline int name##X(const char* file, int line) \ { \ int oldpil; \ @@ -336,7 +336,7 @@ static __inline int name##X(const char* file, int line) \ #else #define SPLPRINT(x) #define SPL(name, newpil) \ -static __inline int name __P((void)); \ +static __inline int name(void); \ static __inline int name() \ { \ int oldpil; \ @@ -346,7 +346,7 @@ static __inline int name() \ } /* A non-priority-decreasing version of SPL */ #define SPLHOLD(name, newpil) \ -static __inline int name __P((void)); \ +static __inline int name(void); \ static __inline int name() \ { \ int oldpil; \ @@ -446,7 +446,7 @@ static __inline void splx(newpil) #define splhigh() splhighX(__FILE__, __LINE__) #define splx(x) splxX((x),__FILE__, __LINE__) -static __inline void splxX __P((int, const char*, int)); +static __inline void splxX(int, const char*, int); static __inline void splxX(newpil, file, line) int newpil, line; const char* file; |