From a144bb8b767b1c9ae40a0e7853db88ed67c9e8c3 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 11 Apr 2012 19:28:40 +0200 Subject: build adjustments: functionally revert commits 4d3fb91f and bbfe1182 Undefining CURL_HIDDEN_SYMBOLS in source files isn't the proper fix. --- tests/libtest/chkhostname.c | 2 -- tests/libtest/sethostname.c | 2 -- tests/libtest/test.h | 2 -- tests/libtest/testutil.c | 2 -- tests/libtest/testutil.h | 2 -- 5 files changed, 10 deletions(-) (limited to 'tests/libtest') diff --git a/tests/libtest/chkhostname.c b/tests/libtest/chkhostname.c index bf0dbfda2..a18c92e8f 100644 --- a/tests/libtest/chkhostname.c +++ b/tests/libtest/chkhostname.c @@ -21,8 +21,6 @@ ***************************************************************************/ #include "setup.h" -#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ - #include "curl_gethostname.h" #define HOSTNAME_MAX 1024 diff --git a/tests/libtest/sethostname.c b/tests/libtest/sethostname.c index d5d5cf9e2..f131fe9fb 100644 --- a/tests/libtest/sethostname.c +++ b/tests/libtest/sethostname.c @@ -21,8 +21,6 @@ ***************************************************************************/ #include "setup.h" -#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ - #include "sethostname.h" /* diff --git a/tests/libtest/test.h b/tests/libtest/test.h index 119debd68..ffa4be166 100644 --- a/tests/libtest/test.h +++ b/tests/libtest/test.h @@ -29,8 +29,6 @@ #include "setup.h" -#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ - #include #include #include diff --git a/tests/libtest/testutil.c b/tests/libtest/testutil.c index fc79e5c63..3ad18c987 100644 --- a/tests/libtest/testutil.c +++ b/tests/libtest/testutil.c @@ -21,8 +21,6 @@ ***************************************************************************/ #include "setup.h" -#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ - #include "testutil.h" #include "memdebug.h" diff --git a/tests/libtest/testutil.h b/tests/libtest/testutil.h index 455b5d53f..0c6be2fc4 100644 --- a/tests/libtest/testutil.h +++ b/tests/libtest/testutil.h @@ -23,8 +23,6 @@ ***************************************************************************/ #include "setup.h" -#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ - struct timeval tutil_tvnow(void); /* -- cgit v1.2.3