Save 4 more bytes by not initializing opts to 0. This moves it from
the data section to the bss section givig us initialization for free. Noticed by: bde
This commit is contained in:
parent
f99a4046d8
commit
b24431ad30
@ -111,7 +111,7 @@ static struct dsk {
|
||||
} dsk;
|
||||
static char cmd[512];
|
||||
static char kname[1024];
|
||||
static uint32_t opts = 0;
|
||||
static uint32_t opts;
|
||||
static struct bootinfo bootinfo;
|
||||
static uint8_t ioctrl = IO_KEYBOARD;
|
||||
|
||||
|
@ -111,7 +111,7 @@ static struct dsk {
|
||||
} dsk;
|
||||
static char cmd[512];
|
||||
static char kname[1024];
|
||||
static uint32_t opts = 0;
|
||||
static uint32_t opts;
|
||||
static struct bootinfo bootinfo;
|
||||
static uint8_t ioctrl = IO_KEYBOARD;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user