projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c25383a
)
metalink_cleanup: define it without argument
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 15 Feb 2013 10:19:59 +0000
(11:19 +0100)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 15 Feb 2013 10:19:59 +0000
(11:19 +0100)
Since the function takes no argument, the macro shouldn't take one as
some compilers will error out on that.
src/tool_metalink.h
patch
|
blob
|
history
diff --git
a/src/tool_metalink.h
b/src/tool_metalink.h
index
2f66e6a
..
c31edcd
100644
(file)
--- 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 */