Skip to content

Commit

Permalink
build adjustments: functionally revert commits 4d3fb91 and bbfe118
Browse files Browse the repository at this point in the history
Undefining CURL_HIDDEN_SYMBOLS in source files isn't the proper fix.
  • Loading branch information
yangtse committed Apr 11, 2012
1 parent 4d3fb91 commit a144bb8
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions src/tool_setup.h
Expand Up @@ -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.
*/
Expand Down
2 changes: 0 additions & 2 deletions tests/libtest/chkhostname.c
Expand Up @@ -21,8 +21,6 @@
***************************************************************************/
#include "setup.h"

#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */

#include "curl_gethostname.h"

#define HOSTNAME_MAX 1024
Expand Down
2 changes: 0 additions & 2 deletions tests/libtest/sethostname.c
Expand Up @@ -21,8 +21,6 @@
***************************************************************************/
#include "setup.h"

#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */

#include "sethostname.h"

/*
Expand Down
2 changes: 0 additions & 2 deletions tests/libtest/test.h
Expand Up @@ -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>
Expand Down
2 changes: 0 additions & 2 deletions tests/libtest/testutil.c
Expand Up @@ -21,8 +21,6 @@
***************************************************************************/
#include "setup.h"

#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */

#include "testutil.h"
#include "memdebug.h"

Expand Down
2 changes: 0 additions & 2 deletions tests/libtest/testutil.h
Expand Up @@ -23,8 +23,6 @@
***************************************************************************/
#include "setup.h"

#undef CURL_HIDDEN_SYMBOLS /* libcurl internal use only */

struct timeval tutil_tvnow(void);

/*
Expand Down
2 changes: 0 additions & 2 deletions tests/server/server_setup.h
Expand Up @@ -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 */

0 comments on commit a144bb8

Please sign in to comment.