From bd3896909ad5657cc396366fe73eb9f843a6293f Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Thu, 17 Oct 1996 22:19:46 +0000 Subject: -Wall happiness --- sys/arch/alpha/include/psl.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'sys/arch/alpha') 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 */ -- cgit v1.2.3