aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-02-15 11:19:59 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-02-15 11:19:59 +0100
commit8c2c4e21b3a28b5860fdd0dd12e67ce73150ca1a (patch)
tree331cbfe4172fc82085acd87741877d30b131b8aa
parentc25383ae1329199107943211e543612d288eb1ae (diff)
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.
-rw-r--r--src/tool_metalink.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tool_metalink.h b/src/tool_metalink.h
index 2f66e6a45..c31edcd72 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 */