From: Daniel Stenberg Date: Fri, 15 Feb 2013 10:19:59 +0000 (+0100) Subject: metalink_cleanup: define it without argument X-Git-Tag: curl-7_30_0~343 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c2c4e21b3a28b5860fdd0dd12e67ce73150ca1a;p=thirdparty%2Fcurl.git metalink_cleanup: define it without argument Since the function takes no argument, the macro shouldn't take one as some compilers will error out on that. --- diff --git a/src/tool_metalink.h b/src/tool_metalink.h index 2f66e6a451..c31edcd72f 100644 --- a/src/tool_metalink.h +++ b/src/tool_metalink.h @@ -155,7 +155,9 @@ void metalink_cleanup(void); #define count_next_metalink_resource(x) 0 #define clean_metalink(x) Curl_nop_stmt -#define metalink_cleanup(x) Curl_nop_stmt + +/* metalink_cleanup() takes no arguments */ +#define metalink_cleanup Curl_nop_stmt #endif /* USE_METALINK */