8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait

Reviewed-by: dholmes, kbarrett
This commit is contained in:
Volker Simonis 2015-07-23 16:29:48 +02:00
parent 91fcaa5017
commit 8cc8dd861a

View File

@ -1079,7 +1079,7 @@ bool PosixSemaphore::trywait() {
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) {