From d92a868bcf05af54b74d432c23c5b1da0ed62475 Mon Sep 17 00:00:00 2001 From: pk Date: Sun, 21 Nov 1999 11:47:51 +0000 Subject: [PATCH] Avoid unused symbol warnings when not using DDB. --- sys/arch/sparc64/sparc64/autoconf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c index 8915851841e0..ba30ee6bcecf 100644 --- a/sys/arch/sparc64/sparc64/autoconf.c +++ b/sys/arch/sparc64/sparc64/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.23 1999/11/08 05:05:26 eeh Exp $ */ +/* $NetBSD: autoconf.c,v 1.24 1999/11/21 11:47:51 pk Exp $ */ /* * Copyright (c) 1996 @@ -198,7 +198,9 @@ bootstrap(nctx) int nctx; { extern int end; /* End of kernel */ +#if defined(DDB) && defined(DB_ELF_SYMBOLS) extern void *ssym, *esym; +#endif /* * Initialize ddb first and register OBP callbacks.