summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac10
2 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index ece0af15..aa95ce23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-12 Ulrich Drepper <[email protected]>
+
+ * configure.ac (internal_function): Don't use internal visibility.
+
2006-07-05 Ulrich Drepper <[email protected]>
* configure.ac: Add dummy automake conditional to get dependencies
diff --git a/configure.ac b/configure.ac
index ec6286ed..de81c68c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -246,15 +246,13 @@ AH_BOTTOM([
extern __typeof (name) aliasname __attribute__ ((alias (#name)));
#ifdef __i386__
-# define internal_function_def __attribute__ ((regparm (3), stdcall))
+# define internal_function __attribute__ ((regparm (3), stdcall))
#else
-# define internal_function_def /* nothing */
+# define internal_function /* nothing */
#endif
-# define internal_function \
- internal_function_def __attribute__ ((visibility ("internal")))
-# define internal_strong_alias(name, aliasname) \
- extern __typeof (name) aliasname __attribute__ ((alias (#name), visibility ("internal"))) internal_function_def;
+#define internal_strong_alias(name, aliasname) \
+ extern __typeof (name) aliasname __attribute__ ((alias (#name))) internal_function;
#define attribute_hidden \
__attribute__ ((visibility ("hidden")))