From 6b04402b9228b0d62e5dc8c3715543d19dde1e66 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Fri, 31 Mar 2006 22:38:55 +0200 Subject: [PATCH] posix.cc (_Jv_platform_nanotime): Declare id with clockid_t. 2006-03-31 Andreas Tobler * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t. From-SVN: r112587 --- libjava/ChangeLog | 4 ++++ libjava/posix.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 9867c7a19167..35c5c87a4ad7 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2006-03-31 Andreas Tobler + + * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t. + 2006-03-30 Tom Tromey PR java/26042: diff --git a/libjava/posix.cc b/libjava/posix.cc index e23eac269cc3..608fd5dad901 100644 --- a/libjava/posix.cc +++ b/libjava/posix.cc @@ -71,7 +71,7 @@ _Jv_platform_nanotime () { #ifdef HAVE_CLOCK_GETTIME struct timespec now; - int id; + clockid_t id; #ifdef CLOCK_MONOTONIC id = CLOCK_MONOTONIC; #elif defined (CLOCK_HIGHRES) -- 2.43.5