Don't declare a variable in the 'struct platform' declaration - we declare

an extern for 'struct platform platform' further down this file anyway,
and this would have declared a 'platform' variable in any userland code
including this file.
This commit is contained in:
simonb 2000-03-29 02:59:18 +00:00
parent 023c506a5e
commit d7a08fd8c5
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpuconf.h,v 1.8 1998/06/06 20:18:50 thorpej Exp $ */
/* $NetBSD: cpuconf.h,v 1.9 2000/03/29 02:59:18 simonb Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
@ -70,7 +70,7 @@ struct platform {
void (*mcheck_handler) __P((unsigned long, struct trapframe *,
unsigned long, unsigned long));
void (*powerdown) __P((void));
} platform;
};
/*
* There is an array of functions to initialize the platform structure.