Fix Sparse warnings

git-svn-id: svn://coreboot.org/openbios/openbios-devel@296 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2008-12-20 18:36:23 +00:00
parent 37c1cdbe41
commit d7208a6daf
12 changed files with 93 additions and 89 deletions

View File

@@ -194,11 +194,11 @@ DECLARE_UNNAMED_NODE( ob_floppy, INSTALL_OPEN, 2*sizeof(int) );
/*
* FDC state
*/
struct drive_state {
static struct drive_state {
unsigned track;
} drive_state[1];
struct floppy_fdc_state {
static struct floppy_fdc_state {
int in_sync;
int spec1; /* spec1 value last used */
int spec2; /* spec2 value last used */