summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-09-04 20:24:22 +0200
committerLudovic Courtès <ludo@gnu.org>2008-09-04 20:24:22 +0200
commitca71113651f5879a8ffe429ade1fcc51b5fb017f (patch)
tree8a21bfd9f1b00bbc751501c1b8e0187ddbefd916
parentef8d3d3a2c5b278978f26ce77f7e3080cfff4628 (diff)
downloadguile-ca71113651f5879a8ffe429ade1fcc51b5fb017f.tar.gz
Revert "Fix `SCM_INTERNAL' with GCC 4.3."
This reverts commit bc566d672f0d21f1567b83ddd732e4089983a2a8.
-rw-r--r--libguile/ChangeLog6
-rw-r--r--libguile/__scm.h4
2 files changed, 2 insertions, 8 deletions
diff --git a/libguile/ChangeLog b/libguile/ChangeLog
index 1b3f5d367..ba0284ed7 100644
--- a/libguile/ChangeLog
+++ b/libguile/ChangeLog
@@ -43,12 +43,6 @@
* strings.c (scm_c_symbol_length): New function.
* strings.h (scm_c_symbol_length): New declaration.
-2008-07-04 Ludovic Courtès <ludo@gnu.org>
-
- * __scm.h (SCM_INTERNAL): Add `extern' so that these symbols are
- not considered as "common" by GCC 4.3. Reported by Patrick
- Horgan <phorgan1@gmail.com>.
-
2008-06-28 Ludovic Courtès <ludo@gnu.org>
* Makefile.am (INCLUDES): Renamed to...
diff --git a/libguile/__scm.h b/libguile/__scm.h
index 30077fd46..76b444857 100644
--- a/libguile/__scm.h
+++ b/libguile/__scm.h
@@ -101,9 +101,9 @@
* as having "internal" linkage. */
#if (defined __GNUC__) && \
((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ == 3))
-# define SCM_INTERNAL extern __attribute__ ((__visibility__ ("internal")))
+# define SCM_INTERNAL __attribute__ ((__visibility__ ("internal")))
#else
-# define SCM_INTERNAL extern
+# define SCM_INTERNAL
#endif