From ca71113651f5879a8ffe429ade1fcc51b5fb017f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 4 Sep 2008 20:24:22 +0200 Subject: [PATCH] Revert "Fix `SCM_INTERNAL' with GCC 4.3." This reverts commit bc566d672f0d21f1567b83ddd732e4089983a2a8. --- libguile/ChangeLog | 6 ------ libguile/__scm.h | 4 ++-- 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 - - * __scm.h (SCM_INTERNAL): Add `extern' so that these symbols are - not considered as "common" by GCC 4.3. Reported by Patrick - Horgan . - 2008-06-28 Ludovic Courtès * 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