From e413bc3974f499035f3695ef85c4f937d0d310bb Mon Sep 17 00:00:00 2001 From: andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri, 31 Mar 2006 20:38:55 +0000 Subject: [PATCH] 2006-03-31 Andreas Tobler <a.tobler@schweiz.ch> * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112587 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 <a.tobler@schweiz.ch> + + * posix.cc (_Jv_platform_nanotime): Declare id with clockid_t. + 2006-03-30 Tom Tromey <tromey@redhat.com> 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) -- GitLab