summaryrefslogtreecommitdiff
path: root/ext/thread/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-02 18:20:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-02 18:20:17 +0000
commit13e60f2bff7c2a140cbdc123c3a28c9b8b66d963 (patch)
treeb459a9415acf1bb0b415e6b22db9a0d7056aeb30 /ext/thread/thread.c
parentcb2b598024d4f336d27ce0e37dd5d3c8249e4ef0 (diff)
* ext/thread/thread.c (ALIAS_GLOBAL_CONST): fix typo, GLOBCAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/thread/thread.c')
-rw-r--r--ext/thread/thread.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/thread/thread.c b/ext/thread/thread.c
index 1a517c5b8a..7d0dab8c29 100644
--- a/ext/thread/thread.c
+++ b/ext/thread/thread.c
@@ -511,7 +511,7 @@ void
Init_thread(void)
{
#if UNDER_THREAD
-#define ALIAS_GLOBCAL_CONST(name) do { \
+#define ALIAS_GLOBAL_CONST(name) do { \
ID id = rb_intern_const(#name); \
if (!rb_const_defined_at(rb_cObject, id)) { \
rb_const_set(rb_cObject, id, rb_c##name); \
@@ -519,7 +519,7 @@ Init_thread(void)
} while (0)
#define OUTER rb_cThread
#else
-#define ALIAS_GLOBCAL_CONST(name) do { /* nothing */ } while (0)
+#define ALIAS_GLOBAL_CONST(name) do { /* nothing */ } while (0)
#define OUTER 0
#endif
@@ -569,7 +569,7 @@ Init_thread(void)
rb_alias(rb_cSizedQueue, rb_intern("shift"), rb_intern("pop"));
rb_provide("thread.rb");
- ALIAS_GLOBCAL_CONST(ConditionVariable);
- ALIAS_GLOBCAL_CONST(Queue);
- ALIAS_GLOBCAL_CONST(SizedQueue);
+ ALIAS_GLOBAL_CONST(ConditionVariable);
+ ALIAS_GLOBAL_CONST(Queue);
+ ALIAS_GLOBAL_CONST(SizedQueue);
}