aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-07 19:40:45 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-07 21:27:12 +0000
commita3a6b03c308866be16aa9e2861a434fe45433a91 (patch)
tree5e6391b6bf7c6f5348ab118d089d5cdc4e69107e
parent3b929b6a6589a678da43e1a44bb02a70b50deae3 (diff)
tool_cfgable: For consistency renamed init_config() to config_init()
-rw-r--r--src/tool_cfgable.c2
-rw-r--r--src/tool_cfgable.h2
-rw-r--r--src/tool_main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tool_cfgable.c b/src/tool_cfgable.c
index 9ef3f87b5..6bcf421b3 100644
--- a/src/tool_cfgable.c
+++ b/src/tool_cfgable.c
@@ -26,7 +26,7 @@
#include "memdebug.h" /* keep this as LAST include */
-void init_config(struct Configurable* config)
+void config_init(struct Configurable* config)
{
memset(config, 0, sizeof(struct Configurable));
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index 6331de2d2..7ac4df7ea 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -216,7 +216,7 @@ struct Configurable {
char *xoauth2_bearer; /* XOAUTH2 bearer token */
}; /* struct Configurable */
-void init_config(struct Configurable* config);
+void config_init(struct Configurable* config);
void config_free(struct Configurable* config);
#endif /* HEADER_CURL_TOOL_CFGABLE_H */
diff --git a/src/tool_main.c b/src/tool_main.c
index 1d96436b1..9fde71807 100644
--- a/src/tool_main.c
+++ b/src/tool_main.c
@@ -178,7 +178,7 @@ int main(int argc, char *argv[])
if(config) {
/* Initialise the config */
- init_config(config);
+ config_init(config);
/* Initialize the curl library - do not call any libcurl functions before
this point */