From: Yang Tse Date: Wed, 11 Apr 2012 17:28:40 +0000 (+0200) Subject: build adjustments: functionally revert commits 4d3fb91f and bbfe1182 X-Git-Tag: curl-7_26_0~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a144bb8b767b1c9ae40a0e7853db88ed67c9e8c3;p=thirdparty%2Fcurl.git build adjustments: functionally revert commits 4d3fb91f and bbfe1182 Undefining CURL_HIDDEN_SYMBOLS in source files isn't the proper fix. --- diff --git a/src/tool_setup.h b/src/tool_setup.h index 677f6e5c90..ed3849ba35 100644 --- a/src/tool_setup.h +++ b/src/tool_setup.h @@ -35,12 +35,6 @@ #include "setup.h" /* from the lib directory */ -/* - * Undefine macros intended for libcurl internal use only. - */ - -#undef CURL_HIDDEN_SYMBOLS - /* * curl tool certainly uses libcurl's external interface. */ diff --git a/tests/libtest/chkhostname.c b/tests/libtest/chkhostname.c index bf0dbfda2c..a18c92e8f1 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 d5d5cf9e2e..f131fe9fb3 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 119debd688..ffa4be1667 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 fc79e5c632..3ad18c9873 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 455b5d53fa..0c6be2fc43 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 4d8ae9e8bc..193ad84d70 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 */