Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/m68k/m68k Only declare and define syscall_fancy if ...
details: https://anonhg.NetBSD.org/src/rev/d0b08d613540
branches: trunk
changeset: 534133:d0b08d613540
user: fredette <fredette%NetBSD.org@localhost>
date: Wed Jul 17 21:21:46 2002 +0000
description:
Only declare and define syscall_fancy if KTRACE and/or SYSTRACE are defined.
diffstat:
sys/arch/m68k/m68k/m68k_syscall.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 0d0df6a8334c -r d0b08d613540 sys/arch/m68k/m68k/m68k_syscall.c
--- a/sys/arch/m68k/m68k/m68k_syscall.c Wed Jul 17 21:10:29 2002 +0000
+++ b/sys/arch/m68k/m68k/m68k_syscall.c Wed Jul 17 21:21:46 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: m68k_syscall.c,v 1.3 2002/07/13 08:28:43 scw Exp $ */
+/* $NetBSD: m68k_syscall.c,v 1.4 2002/07/17 21:21:46 fredette Exp $ */
/*-
* Portions Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -116,7 +116,9 @@
void aoutm68k_syscall_intern(struct proc *);
#endif
static void syscall_plain(register_t, struct proc *, struct frame *);
+#if defined(KTRACE) || defined(SYSTRACE)
static void syscall_fancy(register_t, struct proc *, struct frame *);
+#endif
/*
@@ -300,6 +302,7 @@
#endif
}
+#if defined(KTRACE) || defined(SYSTRACE)
static void
syscall_fancy(register_t code, struct proc *p, struct frame *frame)
{
@@ -414,6 +417,7 @@
trace_exit(p, code, args, rval, error);
}
+#endif /* KTRACE || SYSTRACE */
void
child_return(arg)
Home |
Main Index |
Thread Index |
Old Index