summaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-24 02:22:33 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-24 02:22:33 +0000
commitb916c26a1dd9646bded79c41b721383611d74a3f (patch)
tree136e94db38dc7b7f59be297682e154378f2f6500 /time.c
parent6845a4e999d34cdce54af1686f4e1bc362419710 (diff)
downloadruby-b916c26a1dd9646bded79c41b721383611d74a3f.tar.gz
ruby-b916c26a1dd9646bded79c41b721383611d74a3f.tar.xz
ruby-b916c26a1dd9646bded79c41b721383611d74a3f.zip
* time.c (time_new_internal): add prototype to tell the compiler
arugments types. * win32/win32.c (NtInitialize): need to set a handler for VC++8. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time.c b/time.c
index 9492efafb..fa337989d 100644
--- a/time.c
+++ b/time.c
@@ -139,6 +139,7 @@ time_overflow_p(secp, usecp)
*usecp = usec;
}
+static VALUE time_new_internal _((VALUE, time_t, time_t));
static VALUE
time_new_internal(klass, sec, usec)
VALUE klass;