summaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-05 18:24:21 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-05 18:24:21 +0000
commit65080e34c164169ed374c236d52e26d86a2f4f03 (patch)
tree26a6dea4d378357709de6af2506241977175a160 /process.c
parentcb7efa48cfe416518860ff8e7ef2b39ec22e28cf (diff)
downloadruby-65080e34c164169ed374c236d52e26d86a2f4f03.tar.gz
ruby-65080e34c164169ed374c236d52e26d86a2f4f03.tar.xz
ruby-65080e34c164169ed374c236d52e26d86a2f4f03.zip
* include/ruby/ruby.h (DBL2NUM): renamed from DOUBLE2NUM.
a patch from Tadashi Saito <shiba at mail2.accsnet.ne.jp> in [ruby-dev:36102]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/process.c b/process.c
index 107439e20..8acfcc36d 100644
--- a/process.c
+++ b/process.c
@@ -5047,10 +5047,10 @@ rb_proc_times(VALUE obj)
times(&buf);
return rb_struct_new(rb_cProcessTms,
- utime = DOUBLE2NUM(buf.tms_utime / hertz),
- stime = DOUBLE2NUM(buf.tms_stime / hertz),
- cutime = DOUBLE2NUM(buf.tms_cutime / hertz),
- sctime = DOUBLE2NUM(buf.tms_cstime / hertz));
+ utime = DBL2NUM(buf.tms_utime / hertz),
+ stime = DBL2NUM(buf.tms_stime / hertz),
+ cutime = DBL2NUM(buf.tms_cutime / hertz),
+ sctime = DBL2NUM(buf.tms_cstime / hertz));
#else
rb_notimplement();
#endif