diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-17 22:19:46 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-17 22:19:46 +0000 |
commit | bd3896909ad5657cc396366fe73eb9f843a6293f (patch) | |
tree | 91d53872a3db7e6345895d060c00bfd6c205c112 /sys/arch/alpha | |
parent | 308a0319d86e398a4bcf0f076cc77fd90a8c0ca1 (diff) |
-Wall happiness
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/include/psl.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/arch/alpha/include/psl.h b/sys/arch/alpha/include/psl.h index 1bbf58b370f..ef86bc4c563 100644 --- a/sys/arch/alpha/include/psl.h +++ b/sys/arch/alpha/include/psl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: psl.h,v 1.4 1996/07/29 22:59:08 niklas Exp $ */ +/* $OpenBSD: psl.h,v 1.5 1996/10/17 22:19:45 niklas Exp $ */ /* $NetBSD: psl.h,v 1.5 1996/04/23 15:24:09 cgd Exp $ */ /* @@ -76,8 +76,14 @@ */ /* Flush all write buffers */ -static __inline int wbflush() \ - { __asm __volatile("mb" : : : "memory"); } /* XXX? wmb */ +static __inline void wbflush __P((void)); +static __inline void +wbflush() +{ + /* XXX? wmb */ + __asm __volatile("mb" : : : "memory"); +} + #define IMB() pal_imb() /* Sync instruction cache w/data */ void alpha_mb __P((void)); /* Flush all write buffers */ |