From ca76f40ba05cb8b067a6e7b0e0cd31fa31b7dff1 Mon Sep 17 00:00:00 2001 From: gramanas Date: Wed, 14 Nov 2018 15:44:48 +0200 Subject: Remove extern keyword --- src/actionhelper.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/actionhelper.h') diff --git a/src/actionhelper.h b/src/actionhelper.h index 3f16ce3..0c96a8a 100644 --- a/src/actionhelper.h +++ b/src/actionhelper.h @@ -24,7 +24,7 @@ /* INIT */ /********/ -extern int init_create_config_file(UserOpt *opt); +int init_create_config_file(UserOpt *opt); /*******/ /* ADD */ @@ -33,36 +33,36 @@ extern int init_create_config_file(UserOpt *opt); /* if add_err is set, return true * along with a copy of the error message. * Pass NULL if you don't care about the message */ -extern int add_err_message(char *err); -extern AddOpt add_make_options(cklist *args); -extern void add_print_opts(AddOpt *opt); -extern void add_make_link(const AddOpt *opt, const Conf *conf); +int add_err_message(char *err); +AddOpt add_make_options(cklist *args); +void add_print_opts(AddOpt *opt); +void add_make_link(const AddOpt *opt, const Conf *conf); /********/ /* EDIT */ /********/ -extern void edit_print_suggested_configs(DB *db, const char *pName); +void edit_print_suggested_configs(DB *db, const char *pName); /********/ /* LIST */ /********/ -extern ListOpt list_make_options(cklist *args); +ListOpt list_make_options(cklist *args); /***********/ /* RESTORE */ /***********/ -extern int restore_make_links(cklist *from, cklist *to); +int restore_make_links(cklist *from, cklist *to); /************************/ /* PRINT RESULTS & HELP */ /************************/ #define X(ACTION) \ - extern void print_##ACTION##_result(int err); \ - extern void print_##ACTION##_help(void); + void print_##ACTION##_result(int err); \ + void print_##ACTION##_help(void); CK_ACTIONS #undef X -extern void print_conf_help(void); -extern void print_verbose_help(void); +void print_conf_help(void); +void print_verbose_help(void); #endif /* ACTIONHELPER_H */ -- cgit v1.2.3