OSDN Git Service

2006-03-31 Andreas Tobler <a.tobler@schweiz.ch>
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Mar 2006 20:38:55 +0000 (20:38 +0000)
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Mar 2006 20:38:55 +0000 (20:38 +0000)
* 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
libjava/posix.cc

index 9867c7a..35c5c87 100644 (file)
@@ -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:
index e23eac2..608fd5d 100644 (file)
@@ -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)