mirror of
https://github.com/curl/curl.git
synced 2026-08-01 10:38:04 +03:00
tool_cfgable: For consistency renamed init_config() to config_init()
This commit is contained in:
parent
3b929b6a65
commit
a3a6b03c30
3 changed files with 3 additions and 3 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue