Skip to content

Commit

Permalink
v84: Make setup_options definitions as extern
Browse files Browse the repository at this point in the history
This is already defined in drbdadm_main.c, therefore make this
declaration to be extern for other modules

Fixes compatibility with gcc-10 which uses -fno-common by default

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj authored and rck committed Aug 13, 2020
1 parent c911ca3 commit a513dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/v84/drbdadm.h
Expand Up @@ -251,7 +251,7 @@ struct setup_option {
bool explicit;
char *option;
};
struct setup_option *setup_options;
extern struct setup_option *setup_options;

extern void add_setup_option(bool explicit, char *option);

Expand Down

0 comments on commit a513dea

Please sign in to comment.