summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adwlib.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-08-29 06:08:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-08-29 06:08:05 +0000
commitb15bc76c62161409e04fcb986d174856b3662ef3 (patch)
treecef186f363ef857a11efa29c5adf925a1cce7b2d /sys/dev/ic/adwlib.c
parent001bb62ccba9e90f7c2ec4eacb978131906dc341 (diff)
static const, not const static
c99 6.11.5: "The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature." ok miod@ tb@
Diffstat (limited to 'sys/dev/ic/adwlib.c')
-rw-r--r--sys/dev/ic/adwlib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/adwlib.c b/sys/dev/ic/adwlib.c
index 2e346d52dd0..3fe5eb3b075 100644
--- a/sys/dev/ic/adwlib.c
+++ b/sys/dev/ic/adwlib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adwlib.c,v 1.28 2022/08/01 20:35:25 miod Exp $ */
+/* $OpenBSD: adwlib.c,v 1.29 2022/08/29 06:08:03 jsg Exp $ */
/* $NetBSD: adwlib.c,v 1.20 2000/07/04 04:17:03 itojun Exp $ */
/*
@@ -95,7 +95,7 @@ void AdwDelayMicroSecond(u_int32_t);
* Additional structure information can be found in adwlib.h where
* the structure is defined.
*/
-const static ADW_EEPROM adw_3550_Default_EEPROM = {
+static const ADW_EEPROM adw_3550_Default_EEPROM = {
ADW_EEPROM_BIOS_ENABLE, /* 00 cfg_lsw */
0x0000, /* 01 cfg_msw */
0xFFFF, /* 02 disc_enable */
@@ -132,7 +132,7 @@ const static ADW_EEPROM adw_3550_Default_EEPROM = {
0 /* 35 saved_adw_err_addr */
};
-const static ADW_EEPROM adw_38C0800_Default_EEPROM = {
+static const ADW_EEPROM adw_38C0800_Default_EEPROM = {
ADW_EEPROM_BIOS_ENABLE, /* 00 cfg_lsw */
0x0000, /* 01 cfg_msw */
0xFFFF, /* 02 disc_enable */
@@ -178,7 +178,7 @@ const static ADW_EEPROM adw_38C0800_Default_EEPROM = {
{ 0,0,0,0 } /* 60-63 reserved2[4] */
};
-const static ADW_EEPROM adw_38C1600_Default_EEPROM = {
+static const ADW_EEPROM adw_38C1600_Default_EEPROM = {
ADW_EEPROM_BIOS_ENABLE, /* 00 cfg_lsw */
0x0000, /* 01 cfg_msw */
0xFFFF, /* 02 disc_enable */