btrfs-progs: image: fix declaration of current_version
Gcc 13.3 reports: In file included from image/main.c:41: ./image/metadump.h:47:1: warning: ‘extern’ is not at beginning of declaration [-Wold-style-declaration] 47 | const extern struct dump_version *current_version; | ^~~~~ Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
6954981f16
commit
5c32511a5c
|
@ -44,7 +44,7 @@ struct dump_version {
|
|||
};
|
||||
|
||||
extern const struct dump_version dump_versions[];
|
||||
const extern struct dump_version *current_version;
|
||||
extern const struct dump_version *current_version;
|
||||
|
||||
struct async_work {
|
||||
struct list_head list;
|
||||
|
|
Loading…
Reference in New Issue