From e96cb731c14cdff67c6de83b4e96c943949f7f4c Mon Sep 17 00:00:00 2001 From: jb Date: Mon, 9 Mar 1998 04:42:19 +0000 Subject: These files are very specific to FreeBSD kernels, so silently compile no code when building a library with __NETBSD_SYSCALLS defined. --- lib/libc/gmon/gmon.c | 2 ++ lib/libc/gmon/mcount.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c index 81e36dd..a0f0036 100644 --- a/lib/libc/gmon/gmon.c +++ b/lib/libc/gmon/gmon.c @@ -35,6 +35,7 @@ static char sccsid[] = "@(#)gmon.c 8.1 (Berkeley) 6/4/93"; #endif +#ifndef __NETBSD_SYSCALLS #include #include #include @@ -256,3 +257,4 @@ hertz() } +#endif diff --git a/lib/libc/gmon/mcount.c b/lib/libc/gmon/mcount.c index a48e558..18633c3 100644 --- a/lib/libc/gmon/mcount.c +++ b/lib/libc/gmon/mcount.c @@ -36,9 +36,10 @@ static char sccsid[] = "@(#)mcount.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: mcount.c,v 1.9 1997/02/22 14:58:27 peter Exp $"; #endif +#ifndef __NETBSD_SYSCALLS #include #include #ifdef KERNEL @@ -323,3 +324,5 @@ mexitcount(selfpc) } } #endif /* GUPROF */ + +#endif -- cgit v1.1