aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-04-11 19:28:40 +0200
committerYang Tse <yangsita@gmail.com>2012-04-11 19:28:40 +0200
commita144bb8b767b1c9ae40a0e7853db88ed67c9e8c3 (patch)
treef5f561e78e2e61b5ae573363ba387fd346fc4093
parent4d3fb91fb45ca404322d5146f43cae93d918a9a8 (diff)
build adjustments: functionally revert commits 4d3fb91f and bbfe1182
Undefining CURL_HIDDEN_SYMBOLS in source files isn't the proper fix.
-rw-r--r--src/tool_setup.h6
-rw-r--r--tests/libtest/chkhostname.c2
-rw-r--r--tests/libtest/sethostname.c2
-rw-r--r--tests/libtest/test.h2
-rw-r--r--tests/libtest/testutil.c2
-rw-r--r--tests/libtest/testutil.h2
-rw-r--r--tests/server/server_setup.h2
7 files changed, 0 insertions, 18 deletions
diff --git a/src/tool_setup.h b/src/tool_setup.h
index 677f6e5c9..ed3849ba3 100644
--- a/src/tool_setup.h
+++ b/src/tool_setup.h
@@ -36,12 +36,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 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 <curl/curl.h>
#include <stdio.h>
#include <string.h>
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 */