aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operhlp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-02-14 11:41:57 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-02-14 11:41:57 +0100
commita6dca9d28c5f12b3f1933b43bb30f1235dee03d4 (patch)
treed33d25253381e14cae5f8d10f8dafdff565cb48e /src/tool_operhlp.c
parent358c5c0745a4c47f910189095f3832163b4708c4 (diff)
remove ifdefs
Clarify the code by reducing ifdefs
Diffstat (limited to 'src/tool_operhlp.c')
-rw-r--r--src/tool_operhlp.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/tool_operhlp.c b/src/tool_operhlp.c
index 9078b9564..631488727 100644
--- a/src/tool_operhlp.c
+++ b/src/tool_operhlp.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -31,11 +31,7 @@
#include "tool_convert.h"
#include "tool_operhlp.h"
#include "tool_version.h"
-
-#ifdef USE_METALINK
-/* import the declaration of metalink_cleanup() */
-# include "tool_metalink.h"
-#endif
+#include "tool_metalink.h"
#include "memdebug.h" /* keep this as LAST include */
@@ -220,9 +216,7 @@ void main_free(void)
{
curl_global_cleanup();
convert_cleanup();
-#ifdef USE_METALINK
metalink_cleanup();
-#endif
}
#ifdef CURLDEBUG