Permalink
Browse files

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.
  • Loading branch information...
bagder committed Feb 15, 2013
1 parent c25383a commit 8c2c4e21b3a28b5860fdd0dd12e67ce73150ca1a
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/tool_metalink.h
View
@@ -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 */

0 comments on commit 8c2c4e2

Please sign in to comment.