diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-11-23 12:33:23 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-11-23 12:33:23 +0100 |
commit | 2d6b25ed112219f0ed21f669104a8db9e5e7e1ec (patch) | |
tree | c79e53848a7de2a8a7a280feee6dc8711f9bab8a | |
parent | 5e44449e4724a4aaa021f7f64e830e8823f4e333 (diff) | |
download | gcc-2d6b25ed112219f0ed21f669104a8db9e5e7e1ec.zip gcc-2d6b25ed112219f0ed21f669104a8db9e5e7e1ec.tar.gz gcc-2d6b25ed112219f0ed21f669104a8db9e5e7e1ec.tar.bz2 |
Remove hard coded clock id.
From-SVN: r181662
-rw-r--r-- | gcc/ada/s-osinte-hpux-dce.ads | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/ada/s-osinte-hpux-dce.ads b/gcc/ada/s-osinte-hpux-dce.ads index f39cbfd..3d873e1 100644 --- a/gcc/ada/s-osinte-hpux-dce.ads +++ b/gcc/ada/s-osinte-hpux-dce.ads @@ -7,7 +7,7 @@ -- S p e c -- -- -- -- Copyright (C) 1991-1994, Florida State University -- --- Copyright (C) 1995-2009, Free Software Foundation, Inc. -- +-- Copyright (C) 1995-2011, Free Software Foundation, Inc. -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -193,9 +193,7 @@ package System.OS_Interface is function nanosleep (rqtp, rmtp : access timespec) return int; pragma Import (C, nanosleep); - type clockid_t is private; - - CLOCK_REALTIME : constant clockid_t; + type clockid_t is new int; function Clock_Gettime (Clock_Id : clockid_t; Tp : access timespec) return int; |