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.
|
* Copyright (c) 1988 University of Utah.
|
||||||
@ -120,19 +120,19 @@ vm_map_t phys_map = NULL;
|
|||||||
|
|
||||||
extern paddr_t avail_start, avail_end;
|
extern paddr_t avail_start, avail_end;
|
||||||
extern vaddr_t virtual_avail;
|
extern vaddr_t virtual_avail;
|
||||||
|
extern u_int lowram;
|
||||||
|
extern int end, *esym;
|
||||||
|
|
||||||
caddr_t msgbufaddr;
|
caddr_t msgbufaddr;
|
||||||
int maxmem; /* max memory per process */
|
int maxmem; /* max memory per process */
|
||||||
int physmem = MAXMEM; /* max supported memory, changes to actual */
|
int physmem = MAXMEM; /* max supported memory, changes to actual */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* safepri is a safe priority for sleep to set for a spin-wait
|
* safepri is a safe priority for sleep to set for a spin-wait
|
||||||
* during autoconfiguration or after a panic.
|
* during autoconfiguration or after a panic.
|
||||||
*/
|
*/
|
||||||
int safepri = PSL_LOWIPL;
|
int safepri = PSL_LOWIPL;
|
||||||
|
|
||||||
extern u_int lowram;
|
|
||||||
extern short exframesize[];
|
|
||||||
|
|
||||||
#ifdef COMPAT_HPUX
|
#ifdef COMPAT_HPUX
|
||||||
extern struct emul emul_hpux;
|
extern struct emul emul_hpux;
|
||||||
#endif
|
#endif
|
||||||
@ -194,12 +194,7 @@ consinit()
|
|||||||
zs_kgdb_init(); /* XXX */
|
zs_kgdb_init(); /* XXX */
|
||||||
#endif
|
#endif
|
||||||
#ifdef DDB
|
#ifdef DDB
|
||||||
{
|
ddb_init(*(int *)&end, ((int *)&end) + 1, esym);
|
||||||
extern int end;
|
|
||||||
extern int *esym;
|
|
||||||
|
|
||||||
ddb_init(*(int *)&end, ((int *)&end) + 1, esym);
|
|
||||||
}
|
|
||||||
if (boothowto & RB_KDB)
|
if (boothowto & RB_KDB)
|
||||||
Debugger();
|
Debugger();
|
||||||
#endif
|
#endif
|
||||||
@ -585,7 +580,6 @@ cpu_reboot(howto, bootstr)
|
|||||||
void
|
void
|
||||||
cpu_init_kcore_hdr()
|
cpu_init_kcore_hdr()
|
||||||
{
|
{
|
||||||
extern int end;
|
|
||||||
cpu_kcore_hdr_t *h = &cpu_kcore_hdr;
|
cpu_kcore_hdr_t *h = &cpu_kcore_hdr;
|
||||||
struct m68k_kcore_hdr *m = &h->un._m68k;
|
struct m68k_kcore_hdr *m = &h->un._m68k;
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user