ieee1394: 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. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:

zatwierdzone przez
Stefan Richter

rodzic
e90874f64c
commit
1c4fb577aa
@@ -265,7 +265,7 @@ static struct hpsb_highlevel sbp2_highlevel = {
|
||||
.host_reset = sbp2_host_reset,
|
||||
};
|
||||
|
||||
const static struct hpsb_address_ops sbp2_ops = {
|
||||
static const struct hpsb_address_ops sbp2_ops = {
|
||||
.write = sbp2_handle_status_write
|
||||
};
|
||||
|
||||
@@ -275,7 +275,7 @@ static int sbp2_handle_physdma_write(struct hpsb_host *, int, int, quadlet_t *,
|
||||
static int sbp2_handle_physdma_read(struct hpsb_host *, int, quadlet_t *, u64,
|
||||
size_t, u16);
|
||||
|
||||
const static struct hpsb_address_ops sbp2_physdma_ops = {
|
||||
static const struct hpsb_address_ops sbp2_physdma_ops = {
|
||||
.read = sbp2_handle_physdma_read,
|
||||
.write = sbp2_handle_physdma_write,
|
||||
};
|
||||
|
Reference in New Issue
Block a user