From 073297789aac2e4e4208d2bd228627a86c9f9460 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 14 Jun 2012 03:03:48 +0000 Subject: fix r36079 * include/ruby/ruby.h: public symbols must have default visibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/ruby.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 39996483d9..626f283ed2 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1464,10 +1464,6 @@ unsigned long ruby_strtoul(const char *str, char **endptr, int base); PRINTF_ARGS(int ruby_snprintf(char *str, size_t n, char const *fmt, ...), 3, 4); int ruby_vsnprintf(char *str, size_t n, char const *fmt, va_list ap); -#if defined __GNUC__ && __GNUC__ >= 4 -#pragma GCC visibility pop -#endif - #ifndef RUBY_DONT_SUBST #include "ruby/subst.h" #endif @@ -1488,7 +1484,7 @@ int ruby_vsnprintf(char *str, size_t n, char const *fmt, va_list ap); */ typedef void *ruby_opaque_t; -/*! @deprecated You no longer need to use this macro. */ +/*! @deprecated You no longer need to use this macro. */ #if (defined(__APPLE__) || defined(__NeXT__)) && defined(__MACH__) #define RUBY_GLOBAL_SETUP /* use linker option to link startup code with ObjC support */ #else @@ -1555,6 +1551,10 @@ void ruby_sig_finalize(void); /*! @} */ +#if defined __GNUC__ && __GNUC__ >= 4 +#pragma GCC visibility pop +#endif + #if defined(__cplusplus) #if 0 { /* satisfy cc-mode */ -- cgit v1.2.3