summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-30 05:38:35 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-30 05:38:35 +0000
commit9b3cf2841c8e0967cee5063bc5a1820ff682b906 (patch)
tree519b66a89b4e1bb1981abe03dc7bf19a00385f1d /sys
parent98f5c9562676ab1221a68404c99ec2be9395a02f (diff)
there is no need for a MCOUNT, gcc prepares everything and calls _mcount() all by itself
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/include/profile.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/hppa/include/profile.h b/sys/arch/hppa/include/profile.h
index e06c9923d10..9528c8505b7 100644
--- a/sys/arch/hppa/include/profile.h
+++ b/sys/arch/hppa/include/profile.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: profile.h,v 1.1 1998/12/05 17:25:55 mickey Exp $ */
+/* $OpenBSD: profile.h,v 1.2 2003/01/30 05:38:34 mickey Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -35,13 +35,9 @@
* @(#)profile.h 8.1 (Berkeley) 6/11/93
*/
-#define _MCOUNT_DECL static __inline void _mcount
+#define _MCOUNT_DECL void _mcount
-#define MCOUNT \
-void \
-mcount() \
-{ \
-}
+#define MCOUNT
#ifdef _KERNEL
/*