summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-10-17 22:19:45 +0000
committerniklas <niklas@openbsd.org>1996-10-17 22:19:45 +0000
commit92ffc36eb0c3cb9132d6000cadea0517e1454c83 (patch)
tree8bb69e89c108895c025597ac5fe960998314edc5
parentAdd pedantic warnings, as well as -m486 if we are only for the 486 (diff)
downloadwireguard-openbsd-92ffc36eb0c3cb9132d6000cadea0517e1454c83.tar.xz
wireguard-openbsd-92ffc36eb0c3cb9132d6000cadea0517e1454c83.zip
-Wall happiness
-rw-r--r--sys/arch/alpha/include/psl.h12
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 */