From 0c7aecb88dc696f66f49f3bed54a037361a26b8d Mon Sep 17 00:00:00 2001 From: Damien Doligez Date: Fri, 2 Jan 2004 19:23:29 +0000 Subject: depollution suite (et fin?) (PR#1914 et PR#1956) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- byterun/sys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'byterun/sys.c') diff --git a/byterun/sys.c b/byterun/sys.c index d3cf71a22d..108a706708 100644 --- a/byterun/sys.c +++ b/byterun/sys.c @@ -299,10 +299,10 @@ CAMLprim value caml_sys_time(value unit) #endif struct tms t; times(&t); - return copy_double((double)(t.tms_utime + t.tms_stime) / CLK_TCK); + return caml_copy_double((double)(t.tms_utime + t.tms_stime) / CLK_TCK); #else /* clock() is standard ANSI C */ - return copy_double((double)clock() / CLOCKS_PER_SEC); + return caml_copy_double((double)clock() / CLOCKS_PER_SEC); #endif } -- cgit v1.2.1