summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/profile.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-03 20:32:38 +0000
committerbde <bde@FreeBSD.org>1998-02-03 20:32:38 +0000
commita448301f54b93cfee2e1451072aaf680aefb7782 (patch)
treecb8844f82306ef97e4e9b8d41d0b6ae65d73a57f /sys/amd64/include/profile.h
parent379bd7e4cabff6ec3963373a7593564422022d9e (diff)
downloadFreeBSD-src-a448301f54b93cfee2e1451072aaf680aefb7782.zip
FreeBSD-src-a448301f54b93cfee2e1451072aaf680aefb7782.tar.gz
Ifdefed use of a GNU feature.
Diffstat (limited to 'sys/amd64/include/profile.h')
-rw-r--r--sys/amd64/include/profile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/include/profile.h b/sys/amd64/include/profile.h
index 0e6601e..44da274 100644
--- a/sys/amd64/include/profile.h
+++ b/sys/amd64/include/profile.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)profile.h 8.1 (Berkeley) 6/11/93
- * $Id: profile.h,v 1.12 1997/08/30 08:07:50 fsmp Exp $
+ * $Id: profile.h,v 1.13 1997/12/15 02:18:30 tegge Exp $
*/
#ifndef _MACHINE_PROFILE_H_
@@ -133,7 +133,9 @@ void stopguprof __P((struct gmonparam *p));
#include <sys/cdefs.h>
__BEGIN_DECLS
+#ifdef __GNUC__
void mcount __P((void)) __asm("mcount");
+#endif
static void _mcount __P((fptrint_t frompc, fptrint_t selfpc));
__END_DECLS
OpenPOWER on IntegriCloud