From c6f4b234b461801c77895ec1dd4b34348b3d2b8e Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 23 Nov 2003 08:54:57 +0000 Subject: [PATCH] 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. --- sys/arch/newsmips/newsmips/machdep.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/newsmips/newsmips/machdep.c b/sys/arch/newsmips/newsmips/machdep.c index 5a4dba8ca3fd..60f3bfcefe5f 100644 --- a/sys/arch/newsmips/newsmips/machdep.c +++ b/sys/arch/newsmips/newsmips/machdep.c @@ -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 /* 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 @@ mach_init(x_boothowto, x_bootdev, x_bootname, x_maxmem) struct btinfo_symtab *bi_sym; int nsym = 0; char *ssym, *esym; -#endif - bi_arg = NULL; ssym = esym = NULL; /* XXX: gcc */ +#endif + bi_arg = NULL; /* clear the BSS segment */ bzero(edata, end - edata);