options struct should not be global (CLANG -Wshadow warning)
This commit is contained in:
parent
a9c3e204dc
commit
0fdc263a43
@ -171,8 +171,6 @@ typedef struct fko_cli_options
|
||||
|
||||
} fko_cli_options_t;
|
||||
|
||||
extern fko_cli_options_t options;
|
||||
|
||||
void free_configs(fko_cli_options_t *opts);
|
||||
|
||||
#endif /* FWKNOP_COMMON_H */
|
||||
|
||||
@ -666,13 +666,12 @@ typedef struct fko_srv_options
|
||||
|
||||
} fko_srv_options_t;
|
||||
|
||||
extern fko_srv_options_t options;
|
||||
|
||||
/* For cleaning up memory before exiting
|
||||
*/
|
||||
#define FW_CLEANUP 1
|
||||
#define NO_FW_CLEANUP 0
|
||||
void clean_exit(fko_srv_options_t *opts, unsigned int fw_cleanup_flag, unsigned int exit_status);
|
||||
void clean_exit(fko_srv_options_t *opts,
|
||||
unsigned int fw_cleanup_flag, unsigned int exit_status);
|
||||
|
||||
#endif /* FWKNOPD_COMMON_H */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user