Skip to content

Commit

Permalink
trivial: wusb: Storage class should be before const qualifier
Browse files Browse the repository at this point in the history
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: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Tobias Klauser authored and Jiri Kosina committed Mar 30, 2009
1 parent 27157a7 commit 39db4b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/usb/wusb.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ struct wusb_ckhdid {
u8 data[16];
} __attribute__((packed));

const static
struct wusb_ckhdid wusb_ckhdid_zero = { .data = { 0 } };
static const struct wusb_ckhdid wusb_ckhdid_zero = { .data = { 0 } };

#define WUSB_CKHDID_STRSIZE (3 * sizeof(struct wusb_ckhdid) + 1)

Expand Down

0 comments on commit 39db4b8

Please sign in to comment.