changeset 31991:a7dd5bba0fd8

8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait Reviewed-by: dholmes, kbarrett
author simonis
date Thu, 23 Jul 2015 16:29:48 +0200
parents 5077d8d47de9
children 0ac024e1b9cc
files hotspot/src/os/posix/vm/os_posix.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/os/posix/vm/os_posix.cpp	Fri Jul 24 03:50:48 2015 +0000
+++ b/hotspot/src/os/posix/vm/os_posix.cpp	Thu Jul 23 16:29:48 2015 +0200
@@ -1079,7 +1079,7 @@
   return ret == 0;
 }
 
-bool PosixSemaphore::timedwait(const struct timespec ts) {
+bool PosixSemaphore::timedwait(struct timespec ts) {
   while (true) {
     int result = sem_timedwait(&_semaphore, &ts);
     if (result == 0) {