diff --git a/src/common/android/testing/pthread_fixes.h b/src/common/android/testing/pthread_fixes.h index 2304ee39..15c6309e 100644 --- a/src/common/android/testing/pthread_fixes.h +++ b/src/common/android/testing/pthread_fixes.h @@ -84,6 +84,7 @@ int pthread_barrier_destroy(pthread_barrier_t *barrier) { barrier->count = 0; pthread_cond_destroy(&barrier->cond); pthread_mutex_destroy(&barrier->mutex); + return 0; } #endif // defined(PTHREAD_BARRIER_SERIAL_THREAD)