ceph: 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: Sage Weil <sage@newdream.net>
This commit is contained in:

committed by
Sage Weil

parent
34d23762d9
commit
9e32789f63
@@ -16,7 +16,7 @@
|
||||
#define OSD_OP_FRONT_LEN 4096
|
||||
#define OSD_OPREPLY_FRONT_LEN 512
|
||||
|
||||
const static struct ceph_connection_operations osd_con_ops;
|
||||
static const struct ceph_connection_operations osd_con_ops;
|
||||
static int __kick_requests(struct ceph_osd_client *osdc,
|
||||
struct ceph_osd *kickosd);
|
||||
|
||||
@@ -1524,7 +1524,7 @@ static int invalidate_authorizer(struct ceph_connection *con)
|
||||
return ceph_monc_validate_auth(&osdc->client->monc);
|
||||
}
|
||||
|
||||
const static struct ceph_connection_operations osd_con_ops = {
|
||||
static const struct ceph_connection_operations osd_con_ops = {
|
||||
.get = get_osd_con,
|
||||
.put = put_osd_con,
|
||||
.dispatch = dispatch,
|
||||
|
Reference in New Issue
Block a user