From: Steve Holme Date: Sun, 2 Feb 2014 15:20:37 +0000 (+0000) Subject: tool_operate: Introduced new operate() function X-Git-Tag: curl-7_36_0~223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2dc7ad23;p=thirdparty%2Fcurl.git tool_operate: Introduced new operate() function --- diff --git a/src/tool_operate.c b/src/tool_operate.c index 5cdecd9b30..da76f55f4e 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -185,7 +185,7 @@ static curl_off_t VmsSpecialSize(const char * name, #endif /* __VMS */ -int operate(struct Configurable *config, int argc, argv_item_t argv[]) +static int operate_do(struct Configurable *config, int argc, argv_item_t argv[]) { char errorbuffer[CURL_ERROR_SIZE]; struct ProgressData progressbar; @@ -1839,3 +1839,8 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[]) return res; } + +int operate(struct Configurable *config, int argc, argv_item_t argv[]) +{ + return operate_do(config, argc, argv); +}