Commit 39db4b8d authored by Tobias Klauser's avatar Tobias Klauser Committed by Jiri Kosina

trivial: wusb: Storage class should be before const qualifier

The C99 specification states in section 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.
Acked-by: default avatarDavid Vrabel <david.vrabel@csr.com>
Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 27157a70
...@@ -80,8 +80,7 @@ struct wusb_ckhdid { ...@@ -80,8 +80,7 @@ struct wusb_ckhdid {
u8 data[16]; u8 data[16];
} __attribute__((packed)); } __attribute__((packed));
const static static const struct wusb_ckhdid wusb_ckhdid_zero = { .data = { 0 } };
struct wusb_ckhdid wusb_ckhdid_zero = { .data = { 0 } };
#define WUSB_CKHDID_STRSIZE (3 * sizeof(struct wusb_ckhdid) + 1) #define WUSB_CKHDID_STRSIZE (3 * sizeof(struct wusb_ckhdid) + 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment