summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-01 12:51:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-01 12:51:44 +0000
commit845103b751fe79f22e2d31b08e3ed21de1987535 (patch)
tree5698740a4574a6e82e1d3c1d54d3be2d17b9917c /ruby.c
parentf1137963e30affd655319c6baab0245492c4f404 (diff)
* cont.c (rb_fiber_current), dln.c (dln_print_undef, dln_undefined),
eval.c (rb_iterator_p, rb_need_block), load.c: (Init_load), ruby.c (uscore_get, rb_f_chop), st.c (stat_col), signal.c (rb_signal_buff_size, ruby_sig_finalize), thread.c (rb_thread_sleep_forever, rb_thread_sleep_deadly, rb_thread_alone): protoized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index e43fc2c9e5..01550929e5 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1112,7 +1112,7 @@ true_value(void)
rb_define_virtual_variable((name), (val) ? true_value : false_value, 0)
static VALUE
-uscore_get()
+uscore_get(void)
{
VALUE line;
@@ -1176,7 +1176,7 @@ rb_f_gsub(argc, argv)
*/
static VALUE
-rb_f_chop()
+rb_f_chop(void)
{
VALUE str = rb_funcall3(uscore_get(), rb_intern("chop"), 0, 0);
rb_lastline_set(str);