Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/newsmips/newsmips Move initialization of `ssym' and...
details: https://anonhg.NetBSD.org/src/rev/acbc37dee79f
branches: trunk
changeset: 555607:acbc37dee79f
user: taca <taca%NetBSD.org@localhost>
date: Sun Nov 23 08:54:57 2003 +0000
description:
Move initialization of `ssym' and `esym' to inside of
#if NKSYMS || defined(DDB) || defined(LKM) ... #endif.
Now GENERIC and INSTALL kernel can be compiled again.
diffstat:
sys/arch/newsmips/newsmips/machdep.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 748f8ef89639 -r acbc37dee79f sys/arch/newsmips/newsmips/machdep.c
--- a/sys/arch/newsmips/newsmips/machdep.c Sun Nov 23 08:33:13 2003 +0000
+++ b/sys/arch/newsmips/newsmips/machdep.c Sun Nov 23 08:54:57 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.74 2003/11/23 00:09:11 tsutsui Exp $ */
+/* $NetBSD: machdep.c,v 1.75 2003/11/23 08:54:57 taca Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -76,7 +76,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.74 2003/11/23 00:09:11 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.75 2003/11/23 08:54:57 taca Exp $");
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
@@ -262,10 +262,10 @@
struct btinfo_symtab *bi_sym;
int nsym = 0;
char *ssym, *esym;
+
+ ssym = esym = NULL; /* XXX: gcc */
#endif
-
bi_arg = NULL;
- ssym = esym = NULL; /* XXX: gcc */
/* clear the BSS segment */
bzero(edata, end - edata);
Home |
Main Index |
Thread Index |
Old Index