summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-14 03:03:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-14 03:03:48 +0000
commit073297789aac2e4e4208d2bd228627a86c9f9460 (patch)
tree97f14442d2fc805128b2f073e0e54eb52c3f97c2 /include
parent22e7c535a663d1e309c23865d0abae95c9945650 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h10
1 files changed, 5 insertions, 5 deletions
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 */