summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-08 10:06:40 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-08 10:06:40 +0000
commitd1a4bf7d3a479a335e26f879098ac9f2d7421092 (patch)
tree90bae440565a033038a224c4030ed4a12c855dd8 /time.c
parentb8ff4a843e4dbf1fab1f033a660f80cccf6a095d (diff)
* time.c: prototype; time_free() to avoid VC++ warnings.
* win32/win32.c (rb_w32_stat): remove S_IWGRP and S_IWOTH bits from st_mode. * win32/win32.h (S_I*): define if not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/time.c b/time.c
index 0d7216a..ff66acf 100644
--- a/time.c
+++ b/time.c
@@ -43,6 +43,8 @@ struct time_object {
#define GetTimeval(obj, tobj) \
Data_Get_Struct(obj, struct time_object, tobj)
+static void time_free _((struct time_object *));
+
static void
time_free(tobj)
struct time_object *tobj;