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:
Warner Losh 2003-01-14 16:33:37 +00:00
parent f99a4046d8
commit b24431ad30
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;