diff --git a/include/quo-vadis-pthread.h b/include/quo-vadis-pthread.h index c75a094..89cfe91 100644 --- a/include/quo-vadis-pthread.h +++ b/include/quo-vadis-pthread.h @@ -58,7 +58,7 @@ qv_pthread_scope_split_at( * Frees resources allocated by calls to qv_pthread_scope_split*. */ int -qv_pthread_scope_free( +qv_pthread_scopes_free( int nscopes, qv_scope_t **scopes ); diff --git a/src/quo-vadis-pthread.cc b/src/quo-vadis-pthread.cc index bfd8714..4d8ce3d 100644 --- a/src/quo-vadis-pthread.cc +++ b/src/quo-vadis-pthread.cc @@ -113,7 +113,7 @@ qv_pthread_create( } int -qv_pthread_scope_free( +qv_pthread_scopes_free( int nscopes, qv_scope_t **scopes ) { diff --git a/tests/test-pthread-split.c b/tests/test-pthread-split.c index 0742389..8f7661a 100644 --- a/tests/test-pthread-split.c +++ b/tests/test-pthread-split.c @@ -108,7 +108,7 @@ main(void) } /* Clean up */ - rc = qv_pthread_scope_free(nthreads, th_scopes); + rc = qv_pthread_scopes_free(nthreads, th_scopes); if (rc != QV_SUCCESS) { ers = "qv_pthread_scope_free() failed"; qvi_test_panic("%s (rc=%s)", ers, qv_strerr(rc)); @@ -146,7 +146,7 @@ main(void) } /* Clean up */ - rc = qv_pthread_scope_free(nthreads, th_scopes); + rc = qv_pthread_scopes_free(nthreads, th_scopes); if (rc != QV_SUCCESS) { ers = "qv_pthread_scope_free() failed"; qvi_test_panic("%s (rc=%s)", ers, qv_strerr(rc));