summaryrefslogtreecommitdiffstats
path: root/lib/libc/gmon
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-10 09:26:41 +0000
committerbde <bde@FreeBSD.org>1998-07-10 09:26:41 +0000
commit4579a954ade046fd3ad0427b6b21347f063751d3 (patch)
tree2c815c06d4c39e37a2debc8193feda4989a2a3a1 /lib/libc/gmon
parent4c73b80db0d2882b6706a48673ec4de099f51641 (diff)
downloadFreeBSD-src-4579a954ade046fd3ad0427b6b21347f063751d3.zip
FreeBSD-src-4579a954ade046fd3ad0427b6b21347f063751d3.tar.gz
Oops, fptrint_t still needs to be declared in <machine/profile.h> in the
!KERNEL case. The kludge to get it declared in libc/gmon/mcount.c wasn't sufficient because fptrint_t is used in <sys/gmon.h>.
Diffstat (limited to 'lib/libc/gmon')
-rw-r--r--lib/libc/gmon/mcount.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libc/gmon/mcount.c b/lib/libc/gmon/mcount.c
index aa8f552..74aaf7d 100644
--- a/lib/libc/gmon/mcount.c
+++ b/lib/libc/gmon/mcount.c
@@ -36,20 +36,12 @@
static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
- "$Id: mcount.c,v 1.10 1998/03/09 04:42:19 jb Exp $";
+ "$Id: mcount.c,v 1.11 1998/07/10 02:27:16 bde Exp $";
#endif
#ifndef __NETBSD_SYSCALLS
-#ifdef KERNEL
-#include <sys/param.h>
-#else
-/* Kludge to get fptrint_t declared. */
-#define KERNEL
#include <sys/param.h>
-#undef KERNEL
-#endif
-
#include <sys/gmon.h>
#ifdef KERNEL
#include <sys/systm.h>
OpenPOWER on IntegriCloud