aboutsummaryrefslogtreecommitdiffstats
path: root/src/actionhelper.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-14 15:44:48 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-14 15:44:48 +0200
commitca76f40ba05cb8b067a6e7b0e0cd31fa31b7dff1 (patch)
treec74e961f7780a4415bb9a178527f8d0e51a430e4 /src/actionhelper.h
parent822f7d839a1b5dc967cfb2988170ed836ae8c0d8 (diff)
downloadck-ca76f40ba05cb8b067a6e7b0e0cd31fa31b7dff1.tar.gz
ck-ca76f40ba05cb8b067a6e7b0e0cd31fa31b7dff1.tar.bz2
ck-ca76f40ba05cb8b067a6e7b0e0cd31fa31b7dff1.zip
Remove extern keyword
Diffstat (limited to 'src/actionhelper.h')
-rw-r--r--src/actionhelper.h24
1 files changed, 12 insertions, 12 deletions
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 */