Fix some nested extern declarations.
From syssrc/sys/arch/news68k/news68k/machdep.c:1.16.
This commit is contained in:
parent
1e48b7fbb5
commit
a7d2590bf0
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: machdep.c,v 1.91 2000/12/18 02:46:49 minoura Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.92 2001/02/20 15:53:27 minoura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -120,19 +120,19 @@ vm_map_t phys_map = NULL;
|
||||
|
||||
extern paddr_t avail_start, avail_end;
|
||||
extern vaddr_t virtual_avail;
|
||||
extern u_int lowram;
|
||||
extern int end, *esym;
|
||||
|
||||
caddr_t msgbufaddr;
|
||||
int maxmem; /* max memory per process */
|
||||
int physmem = MAXMEM; /* max supported memory, changes to actual */
|
||||
|
||||
/*
|
||||
* safepri is a safe priority for sleep to set for a spin-wait
|
||||
* during autoconfiguration or after a panic.
|
||||
*/
|
||||
int safepri = PSL_LOWIPL;
|
||||
|
||||
extern u_int lowram;
|
||||
extern short exframesize[];
|
||||
|
||||
#ifdef COMPAT_HPUX
|
||||
extern struct emul emul_hpux;
|
||||
#endif
|
||||
@ -194,12 +194,7 @@ consinit()
|
||||
zs_kgdb_init(); /* XXX */
|
||||
#endif
|
||||
#ifdef DDB
|
||||
{
|
||||
extern int end;
|
||||
extern int *esym;
|
||||
|
||||
ddb_init(*(int *)&end, ((int *)&end) + 1, esym);
|
||||
}
|
||||
ddb_init(*(int *)&end, ((int *)&end) + 1, esym);
|
||||
if (boothowto & RB_KDB)
|
||||
Debugger();
|
||||
#endif
|
||||
@ -585,7 +580,6 @@ cpu_reboot(howto, bootstr)
|
||||
void
|
||||
cpu_init_kcore_hdr()
|
||||
{
|
||||
extern int end;
|
||||
cpu_kcore_hdr_t *h = &cpu_kcore_hdr;
|
||||
struct m68k_kcore_hdr *m = &h->un._m68k;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user