summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2009-07-11 17:31:22 +0000
committerkrw <krw@openbsd.org>2009-07-11 17:31:22 +0000
commit5063df4ca7202c97c992a26151ca790653d3d1d0 (patch)
tree88d81f3a5809a95987a9a79060677362ecc9c45c
parent- Add some new feature flags (diff)
downloadwireguard-openbsd-5063df4ca7202c97c992a26151ca790653d3d1d0.tar.xz
wireguard-openbsd-5063df4ca7202c97c992a26151ca790653d3d1d0.zip
Nuke an '__inline' that upset clang. Multi-line function should not
be inline anyway. Found by jsg@. The last kernel file that clang complains about. ok marco@ jsg@
-rw-r--r--sys/dev/ic/aic79xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index 0753d02e3f3..62797a4ab0d 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx.c,v 1.44 2008/06/25 18:21:48 deraadt Exp $ */
+/* $OpenBSD: aic79xx.c,v 1.45 2009/07/11 17:31:22 krw Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
@@ -7049,8 +7049,8 @@ ahd_resume(struct ahd_softc *ahd)
* scbid that should be restored once manipualtion
* of the TCL entry is complete.
*/
-__inline u_int ahd_index_busy_tcl(struct ahd_softc *, u_int *, u_int);
-__inline u_int
+u_int ahd_index_busy_tcl(struct ahd_softc *, u_int *, u_int);
+u_int
ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl)
{
/*