summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>1998-11-20 02:09:16 +0000
committermarc <marc@openbsd.org>1998-11-20 02:09:16 +0000
commit20ec3434b5db1e80f0e9e39cb0a2de043f4385b2 (patch)
tree0099b30a377319b14bcad29cd9ff251dea743c82
parentvn_lock already unlocks the simple lock. don't do that again (diff)
downloadwireguard-openbsd-20ec3434b5db1e80f0e9e39cb0a2de043f4385b2.tar.xz
wireguard-openbsd-20ec3434b5db1e80f0e9e39cb0a2de043f4385b2.zip
make _MCOUNT_DECL non-static so the compiler doesn't bitch and
a profiled kernel can be built for the sparc
-rw-r--r--sys/arch/sparc/include/profile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/profile.h b/sys/arch/sparc/include/profile.h
index 13af168d2f3..6b8e283cb85 100644
--- a/sys/arch/sparc/include/profile.h
+++ b/sys/arch/sparc/include/profile.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: profile.h,v 1.4 1997/08/08 08:26:40 downsj Exp $ */
+/* $OpenBSD: profile.h,v 1.5 1998/11/20 02:09:16 marc Exp $ */
/* $NetBSD: profile.h,v 1.8 1997/02/01 20:56:40 mrg Exp $ */
/*
@@ -66,7 +66,7 @@
__asm__("add %o7, 8, %o1");
#endif
-#define _MCOUNT_DECL static void _mcount
+#define _MCOUNT_DECL /* static */ void _mcount
#ifdef _KERNEL
/*