diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2015-11-28 16:39:29 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-11-28 16:39:29 +0000 |
commit | 6a8796db3691b9a53dc5475eaec5388bc1af115d (patch) | |
tree | 67476931f2acc55a879ab141ce328e026d66d96b /libiberty/ChangeLog | |
parent | aaae08a7e4ac526975403ebb5f93b7f24ea16b90 (diff) | |
download | gdb-6a8796db3691b9a53dc5475eaec5388bc1af115d.zip gdb-6a8796db3691b9a53dc5475eaec5388bc1af115d.tar.gz gdb-6a8796db3691b9a53dc5475eaec5388bc1af115d.tar.bz2 |
Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning
* getruntime.c (RUSAGE_SELF): Define if not already defined.
(get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225614 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/ChangeLog')
-rw-r--r-- | libiberty/ChangeLog | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 1341206..65abd11 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -52,10 +52,10 @@ * configure: Regenerated. -2015-07-08 Uros Bizjak <ubizjak@gmail.com> +2015-07-09 Uros Bizjak <ubizjak@gmail.com> - * getruntime.c (get_run_time) [__USE_GNU]: Use RUSAGE_SELF as - argument 1 of getrusage call. + * getruntime.c (RUSAGE_SELF): Define if not already defined. + (get_runtime): Use RUSAGE_SELF as argument 1 of getrusage call. 2015-06-01 Jason Merrill <jason@redhat.com> |