]> gcc.gnu.org Git - gcc.git/commitdiff
posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.
authorAndreas Tobler <a.tobler@schweiz.ch>
Fri, 31 Mar 2006 20:38:55 +0000 (22:38 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Fri, 31 Mar 2006 20:38:55 +0000 (22:38 +0200)
2006-03-31  Andreas Tobler  <a.tobler@schweiz.ch>

* posix.cc (_Jv_platform_nanotime): Declare id with clockid_t.

From-SVN: r112587

libjava/ChangeLog
libjava/posix.cc

index 9867c7a1916746ce733e699a3f850c2921493f26..35c5c87a4ad71ef0957d66aad6ec1f90ce996c46 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 e23eac269cc3f9074e42d99a53f852023899c621..608fd5dad901e0793b464bac7a23d7cf9fa2da2d 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)
This page took 0.068636 seconds and 5 git commands to generate.