8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait
authorsimonis
Thu, 23 Jul 2015 16:29:48 +0200
changeset 31991 a7dd5bba0fd8
parent 31987 5077d8d47de9
child 31992 0ac024e1b9cc
8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait Reviewed-by: dholmes, kbarrett
hotspot/src/os/posix/vm/os_posix.cpp
--- 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) {