Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/alpha The compat signal / signalvar headers a...



details:   https://anonhg.NetBSD.org/src/rev/21aabb56d6e2
branches:  trunk
changeset: 584390:21aabb56d6e2
user:      he <he%NetBSD.org@localhost>
date:      Wed Sep 14 21:48:14 2005 +0000

description:
The compat signal / signalvar headers are only needed under COMPAT_13
and COMPAT_OSF1, so make the header inclusion conditional as well.

diffstat:

 sys/arch/alpha/alpha/compat_16_machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bf3a431481af -r 21aabb56d6e2 sys/arch/alpha/alpha/compat_16_machdep.c
--- a/sys/arch/alpha/alpha/compat_16_machdep.c  Wed Sep 14 20:27:26 2005 +0000
+++ b/sys/arch/alpha/alpha/compat_16_machdep.c  Wed Sep 14 21:48:14 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_16_machdep.c,v 1.7 2005/09/14 17:52:24 martin Exp $ */
+/* $NetBSD: compat_16_machdep.c,v 1.8 2005/09/14 21:48:14 he Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -85,13 +85,15 @@
 #include <sys/syscallargs.h>
 #include <sys/user.h>
 
+#if defined(COMPAT_13) || defined(COMPAT_OSF1)
 #include <compat/sys/signal.h>
 #include <compat/sys/signalvar.h>
+#endif
 
 #include <machine/cpu.h>
 #include <machine/reg.h>
 
-__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.7 2005/09/14 17:52:24 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.8 2005/09/14 21:48:14 he Exp $");
 
 
 #ifdef DEBUG



Home | Main Index | Thread Index | Old Index