From f7b4bb80a58c0a71f684328a0403dba00debf5bb Mon Sep 17 00:00:00 2001 From: enami Date: Wed, 25 Feb 2004 21:34:18 +0000 Subject: [PATCH] Make ktrwrite() and ktrinitheader() private again. ktrsyscall32() no longer exists. --- sys/kern/kern_ktrace.c | 6 ++++-- sys/sys/ktrace.h | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c index 38798ec44b84..56913dc86a80 100644 --- a/sys/kern/kern_ktrace.c +++ b/sys/kern/kern_ktrace.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_ktrace.c,v 1.86 2004/01/16 05:03:02 mrg Exp $ */ +/* $NetBSD: kern_ktrace.c,v 1.87 2004/02/25 21:34:18 enami Exp $ */ /* * Copyright (c) 1989, 1993 @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kern_ktrace.c,v 1.86 2004/01/16 05:03:02 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_ktrace.c,v 1.87 2004/02/25 21:34:18 enami Exp $"); #include "opt_ktrace.h" #include "opt_compat_mach.h" @@ -55,6 +55,8 @@ __KERNEL_RCSID(0, "$NetBSD: kern_ktrace.c,v 1.86 2004/01/16 05:03:02 mrg Exp $") #ifdef KTRACE +void ktrinitheader(struct ktr_header *, struct proc *, int); +int ktrwrite(struct proc *, struct ktr_header *); int ktrace_common(struct proc *, int, int, int, struct file *); int ktrops(struct proc *, struct proc *, int, int, struct file *); int ktrsetchildren(struct proc *, struct proc *, int, int, diff --git a/sys/sys/ktrace.h b/sys/sys/ktrace.h index 23128c81b94e..61be95302a13 100644 --- a/sys/sys/ktrace.h +++ b/sys/sys/ktrace.h @@ -1,4 +1,4 @@ -/* $NetBSD: ktrace.h,v 1.37 2004/01/15 14:29:20 mrg Exp $ */ +/* $NetBSD: ktrace.h,v 1.38 2004/02/25 21:34:18 enami Exp $ */ /* * Copyright (c) 1988, 1993 @@ -226,8 +226,6 @@ __END_DECLS #else -void ktrinitheader(struct ktr_header *, struct proc *, int); -int ktrwrite(struct proc *, struct ktr_header *); void ktrcsw(struct proc *, int, int); void ktremul(struct proc *); void ktrgenio(struct proc *, int, enum uio_rw, struct iovec *, int, int);