fix compiler warning: defined but not used

This commit is contained in:
Yang Tse
2008-09-13 15:59:14 +00:00
parent 09aa4cf2ca
commit f591ab3ba0
2 changed files with 11 additions and 4 deletions

View File

@@ -213,8 +213,6 @@ static const char * const statename[]={
"DONE",
"COMPLETED",
};
static void curl_multi_dump(CURLM *multi_handle);
#endif
/* always use this function to change state, to make debugging easier */
@@ -2232,7 +2230,7 @@ static void add_closure(struct Curl_multi *multi,
}
#ifdef CURLDEBUG
static void curl_multi_dump(CURLM *multi_handle)
void Curl_multi_dump(const struct Curl_multi *multi_handle)
{
struct Curl_multi *multi=(struct Curl_multi *)multi_handle;
struct Curl_one_easy *easy;