summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-21 18:02:01 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-21 18:02:01 +0000
commitb469f3155a2067c5313f1dadddcdb8ea8d9d939c (patch)
tree3bb9d0514824a9a0a23b8bf4c8124bef13d03241 /re.c
parenta36b7eea8a62142ebbbd1f64d3fe52b12c3affa1 (diff)
* array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc),
file.c (rb_stat_s_alloc), hash.c (hash_alloc), io.c (io_alloc), object.c (rb_module_s_alloc, rb_class_allocate_instance), re.c (match_alloc, rb_reg_s_alloc), string.c (str_alloc), time.c (time_s_alloc), ext/digest/digest.c (rb_digest_base_alloc), ext/tcltklib/tcltklib.c (ip_alloc), ext/win32ole/win32ole.c (fole_s_allocate, fev_s_allocate) : add prototype to get rid of VC++ warnings. * ext/sdbm/init.c (fsdbm_alloc): allocator takes only one argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/re.c b/re.c
index 1757e968c7..10451bcb12 100644
--- a/re.c
+++ b/re.c
@@ -511,6 +511,7 @@ make_regexp(s, len, flags)
static VALUE rb_cMatch;
+static VALUE match_alloc _((VALUE));
static VALUE
match_alloc(klass)
VALUE klass;
@@ -1002,6 +1003,7 @@ rb_reg_initialize(obj, s, len, options)
}
}
+static VALUE rb_reg_s_alloc _((VALUE));
static VALUE
rb_reg_s_alloc(klass)
VALUE klass;