Make sure Debugger is declared (even if no DDB).

The sun3 has one regardless of the DDB option.
Fixes kernel compile warning/errors.
This commit is contained in:
gwr 1999-04-09 04:01:09 +00:00
parent d49fc436a6
commit 1578ea0b12
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.h,v 1.19 1999/02/27 19:31:58 is Exp $ */
/* $NetBSD: machdep.h,v 1.20 1999/04/09 04:01:09 gwr Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
@ -70,6 +70,13 @@ extern label_t *nofault;
extern vm_offset_t vmmap; /* XXX - See mem.c */
/* Note: This arch ALWAYS has a Debugger() function! */
/* Do not assume this conditional is backwards! */
#if defined(DDB) == 0 /* No DDB! */
/* In this case, our "Debugger" is the PROM. */
extern void Debugger __P((void));
#endif /* !DDB */
/* Cache flush functions. */
void DCIA __P((void));
void DCIU __P((void));