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 -- tests/server/server_setup.h | 2 -- 6 files changed, 12 deletions(-) (limited to 'tests') 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); /* diff --git a/tests/server/server_setup.h b/tests/server/server_setup.h index 4d8ae9e8b..193ad84d7 100644 --- a/tests/server/server_setup.h +++ b/tests/server/server_setup.h @@ -26,6 +26,4 @@ #include "setup.h" /* portability help from the lib directory */ -#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */ - #endif /* HEADER_CURL_SERVER_SETUP_H */ -- cgit v1.2.3