Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

curl tool: make curl.h first header included in tool_setup.h

  • Loading branch information...
commit 01b0f1061da2bd7a8703f4c8aa846a9088d7ab3e 1 parent 3d8c093
@yangtse yangtse authored
View
2  src/tool_cb_dbg.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#define ENABLE_CURLX_PRINTF
/* use our own printf() functions */
#include "curlx.h"
View
2  src/tool_cb_hdr.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include "rawstr.h"
#define ENABLE_CURLX_PRINTF
View
2  src/tool_cb_prg.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#define ENABLE_CURLX_PRINTF
/* use our own printf() functions */
#include "curlx.h"
View
2  src/tool_cb_rea.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
View
2  src/tool_cb_see.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
View
2  src/tool_cb_wrt.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#define ENABLE_CURLX_PRINTF
/* use our own printf() functions */
#include "curlx.h"
View
2  src/tool_cfgable.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include "tool_cfgable.h"
#include "memdebug.h" /* keep this as LAST include */
View
2  src/tool_convert.c
@@ -27,8 +27,6 @@
# include <iconv.h>
#endif
-#include <curl/curl.h>
-
#include "tool_convert.h"
#include "memdebug.h" /* keep this as LAST include */
View
2  src/tool_dirhie.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
View
1  src/tool_doswin.c
@@ -28,7 +28,6 @@
#endif
#ifdef WIN32
-# include <curl/curl.h>
# include "tool_cfgable.h"
# include "tool_libinfo.h"
#endif
View
2  src/tool_easysrc.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#ifndef CURL_DISABLE_LIBCURL_OPTION
#define ENABLE_CURLX_PRINTF
View
2  src/tool_formparse.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include "rawstr.h"
#define ENABLE_CURLX_PRINTF
View
2  src/tool_getparam.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include "rawstr.h"
#define ENABLE_CURLX_PRINTF
View
2  src/tool_helpers.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include "rawstr.h"
#define ENABLE_CURLX_PRINTF
View
2  src/tool_libinfo.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include "rawstr.h"
#define ENABLE_CURLX_PRINTF
View
2  src/tool_main.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
View
2  src/tool_mfiles.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include "tool_mfiles.h"
#include "memdebug.h" /* keep this as LAST include */
View
2  src/tool_operate.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
View
2  src/tool_operhlp.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include "rawstr.h"
#define ENABLE_CURLX_PRINTF
View
2  src/tool_paramhlp.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#include "rawstr.h"
#define ENABLE_CURLX_PRINTF
View
2  src/tool_parsecfg.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#define ENABLE_CURLX_PRINTF
/* use our own printf() functions */
#include "curlx.h"
View
2  src/tool_setopt.c
@@ -23,8 +23,6 @@
#ifndef CURL_DISABLE_LIBCURL_OPTION
-#include <curl/curl.h>
-
#define ENABLE_CURLX_PRINTF
/* use our own printf() functions */
#include "curlx.h"
View
2  src/tool_setup.h
@@ -24,6 +24,8 @@
#define CURL_NO_OLDIES
+#include <curl/curl.h> /* external interface */
+
#include "setup.h" /* from the lib directory */
#if defined(macintosh) && defined(__MRC__)
View
2  src/tool_urlglob.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */
#include <curl/mprintf.h>
View
2  src/tool_vms.c
@@ -28,8 +28,6 @@
#include <unixlib.h>
#endif
-#include <curl/curl.h>
-
#define ENABLE_CURLX_PRINTF
#include "curlx.h"
View
2  src/tool_writeenv.c
@@ -27,8 +27,6 @@
# include <kernel.h>
#endif
-#include <curl/curl.h>
-
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
View
2  src/tool_writeout.c
@@ -21,8 +21,6 @@
***************************************************************************/
#include "tool_setup.h"
-#include <curl/curl.h>
-
#define _MPRINTF_REPLACE /* we want curl-functions instead of native ones */
#include <curl/mprintf.h>
View
2  src/tool_xattr.c
@@ -25,8 +25,6 @@
# include <sys/xattr.h> /* header from libc, not from libattr */
#endif
-#include <curl/curl.h>
-
#include "tool_xattr.h"
#include "memdebug.h" /* keep this as LAST include */
Please sign in to comment.
Something went wrong with that request. Please try again.