Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha Fix build of RAWHIDE kernel.
details: https://anonhg.NetBSD.org/src/rev/a62ae3783073
branches: trunk
changeset: 803210:a62ae3783073
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Oct 17 18:14:42 2014 +0000
description:
Fix build of RAWHIDE kernel.
diffstat:
sys/arch/alpha/alpha/machdep.c | 6 ++++--
sys/arch/alpha/include/sigdebug.h | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r d6b15440116b -r a62ae3783073 sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c Fri Oct 17 17:48:53 2014 +0000
+++ b/sys/arch/alpha/alpha/machdep.c Fri Oct 17 18:14:42 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.345 2014/05/16 19:18:21 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.346 2014/10/17 18:14:42 uebayasi Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.345 2014/05/16 19:18:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.346 2014/10/17 18:14:42 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -130,6 +130,8 @@
#ifdef DEBUG
#include <machine/sigdebug.h>
+int sigdebug = 0x0;
+int sigpid = 0;
#endif
#include <machine/alpha.h>
diff -r d6b15440116b -r a62ae3783073 sys/arch/alpha/include/sigdebug.h
--- a/sys/arch/alpha/include/sigdebug.h Fri Oct 17 17:48:53 2014 +0000
+++ b/sys/arch/alpha/include/sigdebug.h Fri Oct 17 18:14:42 2014 +0000
@@ -2,8 +2,8 @@
#define _SIGDEBUG_H_
#ifdef DEBUG
-int sigdebug;
-int sigpid;
+extern int sigdebug;
+extern int sigpid;
#define SDB_FOLLOW 0x01
#define SDB_KSTACK 0x02
#endif
Home |
Main Index |
Thread Index |
Old Index