diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-09-15 12:22:54 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-09-15 12:22:54 +0200 |
commit | 0b5b2bbc71dfb621df534b9cc16536eb083046ce (patch) | |
tree | 02b448f73c0093fbfe3345e763787607a8a726b8 /gcc/ada/s-osinte-hpux.ads | |
parent | 21f1e8ce7288b853f431202fa3b61e12f823ae7d (diff) | |
download | gcc-0b5b2bbc71dfb621df534b9cc16536eb083046ce.zip gcc-0b5b2bbc71dfb621df534b9cc16536eb083046ce.tar.gz gcc-0b5b2bbc71dfb621df534b9cc16536eb083046ce.tar.bz2 |
[multiple changes]
2011-09-15 Robert Dewar <dewar@adacore.com>
* a-cdlili.adb, a-coinve.adb, a-stzunb-shared.ads, a-suezst.adb,
a-suenco.adb, a-stwiun-shared.ads, a-cobove.adb, a-convec.adb,
a-btgbso.adb, a-cbdlli.adb, a-suewst.adb: Minor reformatting.
2011-09-15 Ed Schonberg <schonberg@adacore.com>
* sem_ch6.adb (Analyze_Expression_Function): Code cleanup:
if the expression function is not a completion, create a
new specification for the generated declaration, and keep the
original specification in the generated body. Shorter code also
ensures that proper warnings are generated for unused formals
in all cases.
2011-09-15 Sergey Rybin <rybin@adacore.com>
* tree_io.ads: Update ASIS_Version_Number because of the changes
in the tree structures for expression functions.
2011-09-15 Arnaud Charlet <charlet@adacore.com>
* s-osinte-aix.ads, s-osinte-darwin.ads, s-osinte-freebsd.ads,
s-osinte-hpux.ads, s-osinte-lynxos.ads, s-osinte-solaris-posix.ads,
s-taprop-posix.adb (CLOCK_MONOTONIC): New constant.
(CLOCK_REALTIME): Fix wrong value on some OSes.
* s-taprop-posix.adb (Monotonic_Clock): Use CLOCK_MONOTONIC.
From-SVN: r178877
Diffstat (limited to 'gcc/ada/s-osinte-hpux.ads')
-rw-r--r-- | gcc/ada/s-osinte-hpux.ads | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ada/s-osinte-hpux.ads b/gcc/ada/s-osinte-hpux.ads index 1d4c0bf..716d821 100644 --- a/gcc/ada/s-osinte-hpux.ads +++ b/gcc/ada/s-osinte-hpux.ads @@ -7,7 +7,7 @@ -- S p e c -- -- -- -- Copyright (C) 1991-1994, Florida State University -- --- Copyright (C) 1995-2010, Free Software Foundation, Inc. -- +-- Copyright (C) 1995-2011, Free Software Foundation, Inc. -- -- -- -- GNAT 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- -- @@ -182,7 +182,8 @@ package System.OS_Interface is type clockid_t is private; - CLOCK_REALTIME : constant clockid_t; + CLOCK_REALTIME : constant clockid_t; + CLOCK_MONOTONIC : constant clockid_t; function clock_gettime (clock_id : clockid_t; @@ -521,7 +522,8 @@ private pragma Convention (C, timespec); type clockid_t is new int; - CLOCK_REALTIME : constant clockid_t := 1; + CLOCK_REALTIME : constant clockid_t := 1; + CLOCK_MONOTONIC : constant clockid_t := CLOCK_REALTIME; type pthread_attr_t is new int; type pthread_condattr_t is new int; |