diff options
author | imp <imp@FreeBSD.org> | 2003-01-14 16:33:37 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-01-14 16:33:37 +0000 |
commit | 606954dc42800829bdf9d016403e40f85acb3c66 (patch) | |
tree | 94686cebe97e5fa67e3387db34fa94a791676240 /sys/boot | |
parent | 2da153c5bb45b9d849dd9db0ed1e7bd4b90abbba (diff) | |
download | FreeBSD-src-606954dc42800829bdf9d016403e40f85acb3c66.zip FreeBSD-src-606954dc42800829bdf9d016403e40f85acb3c66.tar.gz |
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
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/i386/boot2/boot2.c | 2 | ||||
-rw-r--r-- | sys/boot/i386/gptboot/gptboot.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/boot2/boot2.c b/sys/boot/i386/boot2/boot2.c index 6105ddc..50f8400 100644 --- a/sys/boot/i386/boot2/boot2.c +++ b/sys/boot/i386/boot2/boot2.c @@ -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; diff --git a/sys/boot/i386/gptboot/gptboot.c b/sys/boot/i386/gptboot/gptboot.c index 6105ddc..50f8400 100644 --- a/sys/boot/i386/gptboot/gptboot.c +++ b/sys/boot/i386/gptboot/gptboot.c @@ -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; |