mirror of
https://github.com/curl/curl.git
synced 2026-05-11 00:46:20 +03:00
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.
This commit is contained in:
parent
c25383ae13
commit
8c2c4e21b3
1 changed files with 3 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue