Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/hp700 Use __unused for a variable and use the...
details: https://anonhg.NetBSD.org/src/rev/232874a47454
branches: trunk
changeset: 790674:232874a47454
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Oct 19 13:16:30 2013 +0000
description:
Use __unused for a variable and use the correct #ifdef for a block of
code.
diffstat:
sys/arch/hp700/hp700/machdep.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 4f71640d84be -r 232874a47454 sys/arch/hp700/hp700/machdep.c
--- a/sys/arch/hp700/hp700/machdep.c Sat Oct 19 13:15:53 2013 +0000
+++ b/sys/arch/hp700/hp700/machdep.c Sat Oct 19 13:16:30 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.115 2012/07/28 19:08:23 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.116 2013/10/19 13:16:30 skrll Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.115 2012/07/28 19:08:23 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.116 2013/10/19 13:16:30 skrll Exp $");
#include "opt_cputype.h"
#include "opt_ddb.h"
@@ -1071,7 +1071,7 @@
_hp700_btlb_insert(struct btlb_slot *btlb_slot)
{
int error;
-#ifdef DEBUG
+#ifdef MACHDEPDEBUG
const char *prot;
/* Display the protection like a file protection. */
@@ -1741,7 +1741,7 @@
{
long buf[dbtob(1) / sizeof (long)];
kcore_seg_t *segp;
- cpu_kcore_hdr_t *cpuhdrp;
+ cpu_kcore_hdr_t *cpuhdrp __unused;
const struct bdevsw *bdev;
segp = (kcore_seg_t *)buf;
Home |
Main Index |
Thread Index |
Old Index