Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++"...
authorUros Bizjak <ubizjak@gmail.com>
Sat, 28 Nov 2015 16:39:29 +0000 (16:39 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 28 Nov 2015 16:39:29 +0000 (16:39 +0000)
commitaaae08a7e4ac526975403ebb5f93b7f24ea16b90
tree81c701db21565ddc9ef14036996af73a9c027296
parente3e3b08c81fec50ab1623a64bae164856ce215cf
Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning

  * getruntime.c (get_run_time) [__USE_GNU]: Use RUSAGE_SELF as
  argument 1 of getrusage call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225534 138bc75d-0d04-0410-961f-82ee72b054a4
libiberty/ChangeLog
libiberty/getruntime.c