summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-16 14:02:21 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-16 14:02:21 +0000
commit9606ff514f4563969023254652a32c7c22b82d4b (patch)
treec703b0c428288ad2d0f63f1b28cc710bd29b1342 /node.h
parent1aeb9b93c2446b07eb20b9ac4518014b1276911a (diff)
* eval.c (rb_call0): call_cfunc() should be protected.
* eval.c (rb_add_event_hook): use K&R style. * eval.c (rb_remove_event_hook): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r--node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/node.h b/node.h
index 562efcc32f..ad020fe008 100644
--- a/node.h
+++ b/node.h
@@ -379,8 +379,8 @@ typedef unsigned int rb_event_t;
#define RUBY_EVENT_ALL 0xff
typedef void (*rb_event_hook_func_t)_((rb_event_t,NODE*,VALUE,ID,VALUE));
-void rb_add_event_hook(rb_event_hook_func_t,rb_event_t);
-int rb_remove_event_hook(rb_event_hook_func_t);
+void rb_add_event_hook _((rb_event_hook_func_t,rb_event_t));
+int rb_remove_event_hook _((rb_event_hook_func_t));
#if defined(__cplusplus)
} /* extern "C" { */