summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kmtrace/ktrace.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/kmtrace/ktrace.c b/kmtrace/ktrace.c
index dcc321e5..699d1571 100644
--- a/kmtrace/ktrace.c
+++ b/kmtrace/ktrace.c
@@ -816,24 +816,6 @@ kuntrace()
write(2, "kuntrace()\n", 11);
}
-int fork()
-{
- int result;
- if (mallstream)
- fflush(mallstream);
- result = __fork();
- if (result == 0)
- {
- if (mallstream)
- {
- close(fileno(mallstream));
- mallstream = NULL;
- }
- }
- return result;
-}
-
-
static int my_mcount_lock = 0;
void mcount()
{