mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix Sparse warnings
git-svn-id: svn://coreboot.org/openbios/openbios-devel@296 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user