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
176a7a2e5d
commit
0a1f93ed25
|
@ -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