8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait
Reviewed-by: dholmes, kbarrett
--- 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) {