diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-07 09:28:16 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-11-07 09:28:16 -0800 |
commit | ab2b8309141990ea3bc265368dead9fee8c8a71b (patch) | |
tree | 28c322084076f2a35b90d02c174b2854f70fa737 | |
parent | 0fdbfaf8c645a78328f00d2bc589d49900439342 (diff) | |
download | adns-ab2b8309141990ea3bc265368dead9fee8c8a71b.tar.gz adns-ab2b8309141990ea3bc265368dead9fee8c8a71b.tar.bz2 adns-ab2b8309141990ea3bc265368dead9fee8c8a71b.zip |
adns-visibility
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | src/internal.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in index c4421c4..e7a5ee6 100644 --- a/configure.in +++ b/configure.in @@ -59,7 +59,9 @@ AC_ARG_ENABLE(dynamic, AC_MSG_RESULT([yes, by default]) ]) -AC_PROG_CC +AC_PROG_CC_STDC +AC_USE_SYSTEM_EXTENSIONS +AC_SYS_LARGEFILE AC_PROG_CPP AC_PROG_RANLIB AC_PROG_INSTALL diff --git a/src/internal.h b/src/internal.h index 1eb166d..bbc94f7 100644 --- a/src/internal.h +++ b/src/internal.h @@ -49,6 +49,7 @@ typedef unsigned char byte; # include "hredirect.h" #endif +#pragma GCC visibility push(hidden) /* Configuration and constants */ #define MAXSERVERS 5 @@ -803,4 +804,5 @@ static inline int errno_resources(int e) { return e==ENOMEM || e==ENOBUFS; } (tv)|=GETIL_B(cb), \ (tv) ) +#pragma GCC visibility pop #endif |