diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2004-01-02 19:23:29 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2004-01-02 19:23:29 +0000 |
commit | 0c7aecb88dc696f66f49f3bed54a037361a26b8d (patch) | |
tree | 32bde8a45b8881d3d121fd39cc1270980f596096 /byterun/sys.c | |
parent | 7ba8c1ca1d044232ed6d81d04a8c46800cf15097 (diff) |
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
Diffstat (limited to 'byterun/sys.c')
-rw-r--r-- | byterun/sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/sys.c b/byterun/sys.c index d3cf71a22..108a70670 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 } |