mirror of
https://github.com/curl/curl.git
synced 2026-05-30 14:37:30 +03:00
warnless: drop parts of the read/write preprocessor hack (Windows)
The `#undef` hack is no longer necessary after changing the redifitions to not map back to the original symbols. This makes it unnecessary to repeat the redefinitions after compiling `warnless.c` itself (in unity mode). Which in turns makes it unnecessary to include `warnless.h` again, to trigger such redefinition. This also means that `read`/`write` are now redefined on Windows from the first inclusion of `warnless.h`. Also: - tests/server: drop a repeat `warnless.h` include, that is unnecessary after this patch. - tests/unit: drop repeat `warnless.h` include. - tests/libtest: drop repeat `warnless.h` includes. - tests/libtest: formatting. Follow-up to2f312a14da#17619 Follow-up to84338c4de2#12331 Follow-up to6239146e93Closes #17673
This commit is contained in:
parent
6c1a7541fb
commit
0042770157
97 changed files with 20 additions and 96 deletions
|
|
@ -35,11 +35,6 @@
|
|||
|
||||
#endif /* __INTEL_COMPILER && __unix__ */
|
||||
|
||||
#ifdef _WIN32
|
||||
#undef read
|
||||
#undef write
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#define CURL_MASK_UCHAR ((unsigned char)~0)
|
||||
|
|
@ -295,7 +290,3 @@ size_t curlx_sitouz(int sinum)
|
|||
# pragma warning(pop)
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Ensure that warnless.h redefinitions continue to have an effect
|
||||
in "unity" builds. */
|
||||
#undef HEADER_CURL_WARNLESS_H_REDEFS
|
||||
|
|
|
|||
|
|
@ -57,11 +57,6 @@ unsigned short curlx_uitous(unsigned int uinum);
|
|||
|
||||
size_t curlx_sitouz(int sinum);
|
||||
|
||||
#endif /* HEADER_CURL_WARNLESS_H */
|
||||
|
||||
#ifndef HEADER_CURL_WARNLESS_H_REDEFS
|
||||
#define HEADER_CURL_WARNLESS_H_REDEFS
|
||||
|
||||
#ifdef _WIN32
|
||||
#undef read
|
||||
#define read(fd, buf, count) (ssize_t)_read(fd, buf, curlx_uztoui(count))
|
||||
|
|
@ -69,4 +64,4 @@ size_t curlx_sitouz(int sinum);
|
|||
#define write(fd, buf, count) (ssize_t)_write(fd, buf, curlx_uztoui(count))
|
||||
#endif
|
||||
|
||||
#endif /* HEADER_CURL_WARNLESS_H_REDEFS */
|
||||
#endif /* HEADER_CURL_WARNLESS_H */
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t1485_transfer_status {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1500(char *URL)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#undef TEST_HANG_TIMEOUT
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
#include <limits.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1502(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1506(char *URL)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testutil.h"
|
||||
#include "timediff.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1508(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
size_t WriteOutput(char *ptr, size_t size, size_t nmemb, void *stream);
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1510(char *URL)
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@
|
|||
*/
|
||||
|
||||
#include "test.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define DNS_TIMEOUT 1L
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static int sockopt_callback(void *clientp, curl_socket_t curlfd,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
/* test case and code based on https://github.com/curl/curl/issues/3927 */
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static int dload_progress_cb(void *a, curl_off_t b, curl_off_t c,
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testutil.h"
|
||||
#include "timediff.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1531(char *URL)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t1540_transfer_status {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t1541_transfer_status {
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@
|
|||
*/
|
||||
|
||||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "testtrace.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1542(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1552(char *URL)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testutil.h"
|
||||
#include "testtrace.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static int t1553_xferinfo(void *p,
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
static const char *ldata_names[] = {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct headerinfo {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1557(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1558(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1559(char *URL)
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@
|
|||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h" /* LAST include file */
|
||||
|
||||
static int checkparts(CURLU *u, const char *in, const char *wanted,
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define WAKEUP_NUM 10
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
|
|
|
|||
|
|
@ -28,7 +28,9 @@
|
|||
*/
|
||||
|
||||
#include "test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
static size_t consumed = 0;
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@
|
|||
CI machines. */
|
||||
|
||||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,9 @@
|
|||
*/
|
||||
|
||||
#include "test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1900(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static size_t t1901_read_cb(char *ptr, size_t size, size_t nmemb, void *stream)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testutil.h"
|
||||
#include "timediff.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1903(char *URL)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testutil.h"
|
||||
#include "timediff.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1905(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1906(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1907(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1908(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1910(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/* The maximum string length limit (CURL_MAX_INPUT_LENGTH) is an internal
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define print_err(name, exp) \
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1913(char *URL)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct state {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1916(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1918(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1919(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib1977(char *URL)
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
*/
|
||||
|
||||
#include "test.h"
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode send_request(CURL *curl, const char *url, int seq,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#include <assert.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define MAX_EASY_HANDLES 3
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
|
||||
static CURLcode test_lib2306(char *URL)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
|
||||
static size_t cb_curl(char *buffer, size_t size, size_t nmemb, void *userp)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
|
||||
static size_t cb_ignore(char *buffer, size_t size, size_t nmemb, void *userp)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib2402(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib2404(char *URL)
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/* ---------------------------------------------------------------- */
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib2502(char *URL)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "testtrace.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
|
||||
#define NUM_THREADS 100
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib3027(char *URL)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib3100(char *URL)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib3101(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib3105(char *URL)
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib3208(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib507(char *URL)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#ifndef FD_SETSIZE
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib525(char *URL)
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib526(char *URL)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t530_Sockets {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib533(char *URL)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#if !defined(HAVE_POLL) && !defined(USE_WINSOCK) && !defined(FD_SETSIZE)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include <limits.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define PROXY libtest_arg2
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
#include "test.h"
|
||||
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t552_testdata {
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@
|
|||
*/
|
||||
|
||||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static const char uploadthis[] = "this is the blurb we want to upload\n";
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib556(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib564(char *URL)
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@
|
|||
#endif
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
#define RTP_PKT_CHANNEL(p) ((int)((unsigned char)((p)[1])))
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testtrace.h"
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/* 3x download!
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t582_Sockets {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
#define THREADS 2
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib591(char *URL)
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
#include <limits.h>
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
*
|
||||
***************************************************************************/
|
||||
#include "test.h"
|
||||
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib661(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static CURLcode test_lib677(char *URL)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
static int loadfile(const char *filename, void **filedata, size_t *filesize)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "test.h"
|
||||
|
||||
#include "testutil.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "testutil.h"
|
||||
#include "testtrace.h"
|
||||
#include "warnless.h"
|
||||
#include "memdebug.h"
|
||||
|
||||
struct t753_transfer_status {
|
||||
|
|
|
|||
|
|
@ -102,7 +102,6 @@
|
|||
#endif
|
||||
|
||||
#include <curlx.h> /* from the private lib dir */
|
||||
#include "warnless.h" /* for read() */
|
||||
|
||||
/* include memdebug.h last */
|
||||
#include <memdebug.h>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "curlcheck.h"
|
||||
|
||||
#include "splay.h"
|
||||
#include "warnless.h"
|
||||
|
||||
static void splayprint(struct Curl_tree *t, int d, char output)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue