summaryrefslogtreecommitdiff
path: root/regparse.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-19 03:58:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-19 03:58:57 +0000
commit33163ad123a14488cf163c274d1af56c8e5e7bcb (patch)
tree12198a7c64eeb738685ba20f555dde0587dc5782 /regparse.c
parenta20ecf3be4aa83647f243ff29fa9d0b23a9b9b63 (diff)
* regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan
Huehner <stefan at huehner.org>. [ruby-core:10543] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regparse.c')
-rw-r--r--regparse.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/regparse.c b/regparse.c
index 5bbd6a0..b9a9452 100644
--- a/regparse.c
+++ b/regparse.c
@@ -1088,7 +1088,7 @@ onig_node_free(Node* node)
#ifdef USE_RECYCLE_NODE
extern int
-onig_free_node_list()
+onig_free_node_list(void)
{
FreeNode* n;
@@ -1104,7 +1104,7 @@ onig_free_node_list()
#endif
static Node*
-node_new()
+node_new(void)
{
Node* node;
@@ -1133,7 +1133,7 @@ initialize_cclass(CClassNode* cc)
}
static Node*
-node_new_cclass()
+node_new_cclass(void)
{
Node* node = node_new();
CHECK_NULL_RETURN(node);
@@ -1202,7 +1202,7 @@ node_new_ctype(int type)
}
static Node*
-node_new_anychar()
+node_new_anychar(void)
{
Node* node = node_new();
CHECK_NULL_RETURN(node);
@@ -1490,7 +1490,7 @@ node_new_str_raw(UChar* s, UChar* end)
}
static Node*
-node_new_empty()
+node_new_empty(void)
{
return node_new_str(NULL, NULL);
}
@@ -4826,7 +4826,7 @@ i_free_shared_class(type_cclass_key* key, Node* node, void* arg)
}
extern int
-onig_free_shared_cclass_table()
+onig_free_shared_cclass_table(void)
{
if (IS_NOT_NULL(OnigTypeCClassTable)) {
onig_st_foreach(OnigTypeCClassTable, i_free_shared_class, 0);