diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-03-01 08:57:16 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-03-01 08:57:16 +0000 |
commit | c44a8335b2f7ff60cf74730ac697a5e00829cc66 (patch) | |
tree | 8d18cb393640ccb3ab43ca97ed0f4dc9256d81a8 /ext | |
parent | c885c2d30b69925f6dd9f36e74c247e650db327b (diff) | |
download | ruby_posix_mq-c44a8335b2f7ff60cf74730ac697a5e00829cc66.tar.gz |
So private we won't mention them in the commit message!
Diffstat (limited to 'ext')
-rw-r--r-- | ext/posix_mq/posix_mq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c index 2b979a7..e429525 100644 --- a/ext/posix_mq/posix_mq.c +++ b/ext/posix_mq/posix_mq.c @@ -1060,7 +1060,7 @@ void Init_posix_mq_ext(void) rb_define_singleton_method(cPOSIX_MQ, "unlink", s_unlink, 1); - rb_define_method(cPOSIX_MQ, "initialize", init, -1); + rb_define_private_method(cPOSIX_MQ, "initialize", init, -1); rb_define_method(cPOSIX_MQ, "send", my_send, -1); rb_define_method(cPOSIX_MQ, "<<", send0, 1); rb_define_method(cPOSIX_MQ, "trysend", trysend, -1); @@ -1076,8 +1076,8 @@ void Init_posix_mq_ext(void) rb_define_method(cPOSIX_MQ, "name", name, 0); rb_define_method(cPOSIX_MQ, "notify=", setnotify, 1); rb_define_method(cPOSIX_MQ, "nonblock=", setnonblock, 1); - rb_define_method(cPOSIX_MQ, "notify_exec", setnotify_exec, 2); - rb_define_method(cPOSIX_MQ, "notify_cleanup", notify_cleanup, 0); + rb_define_private_method(cPOSIX_MQ, "notify_exec", setnotify_exec, 2); + rb_define_private_method(cPOSIX_MQ, "notify_cleanup", notify_cleanup, 0); rb_define_method(cPOSIX_MQ, "nonblock?", nonblock_p, 0); #ifdef MQD_TO_FD rb_define_method(cPOSIX_MQ, "to_io", to_io, 0); |