diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-29 06:08:05 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-29 06:08:05 +0000 |
commit | b15bc76c62161409e04fcb986d174856b3662ef3 (patch) | |
tree | cef186f363ef857a11efa29c5adf925a1cce7b2d /sys/dev/sbus | |
parent | 001bb62ccba9e90f7c2ec4eacb978131906dc341 (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/sbus')
-rw-r--r-- | sys/dev/sbus/cs4231.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sbus/cs4231.c b/sys/dev/sbus/cs4231.c index 2672609ae1a..bdf261390f5 100644 --- a/sys/dev/sbus/cs4231.c +++ b/sys/dev/sbus/cs4231.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cs4231.c,v 1.41 2022/03/21 19:22:41 miod Exp $ */ +/* $OpenBSD: cs4231.c,v 1.42 2022/08/29 06:08:04 jsg Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -287,7 +287,7 @@ cs4231_set_speed(struct cs4231_softc *sc, u_long *argp) } speed_struct; u_long arg = *argp; - const static speed_struct speed_table[] = { + static const speed_struct speed_table[] = { {5510, (0 << 1) | CLOCK_XTAL2}, {5510, (0 << 1) | CLOCK_XTAL2}, {6620, (7 << 1) | CLOCK_XTAL2}, |