diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-13 10:13:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-13 10:13:24 +0000 |
commit | 257d8fde7760e26db7d4ed986d01225327302d2e (patch) | |
tree | 9a81ea61ae57f16f5ffb94d392b26ea1ab324cc4 /testsuites/psxtmtests/psxtmrwlock01 | |
parent | 2011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-257d8fde7760e26db7d4ed986d01225327302d2e.tar.bz2 |
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxtmbarrier01/init.c: Make benchmark_pthread_barrier_init,
benchmark_pthread_barrier_destroy static.
* psxtmkey01/init.c: Make benchmark_pthread_key_create,
benchmark_pthread_key_delete static.
* psxtmrwlock01/init.c: Make benchmark_pthread_rwlock_init,
benchmark_pthread_rwlock_rdlock, benchmark_pthread_rwlock_unlock,
benchmark_pthread_rwlock_tryrdlock,
benchmark_pthread_rwlock_timedrdlock,
benchmark_pthread_rwlock_wrlock,
benchmark_pthread_rwlock_trywrlock,
benchmark_pthread_rwlock_timedwrlock,
benchmark_pthread_rwlock_destroy static.
* psxtmsem01/init.c: Make benchmark_sem_init,
benchmark_sem_destroy, benchmark_sem_open, benchmark_sem_close,
benchmark_sem_unlink, benchmark_sem_open_second,
benchmark_sem_close_second static.
* psxtmthread01/init.c: Make benchmark_pthread_create static.
Diffstat (limited to 'testsuites/psxtmtests/psxtmrwlock01')
-rw-r--r-- | testsuites/psxtmtests/psxtmrwlock01/init.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/testsuites/psxtmtests/psxtmrwlock01/init.c b/testsuites/psxtmtests/psxtmrwlock01/init.c index 37a73e6687..1e6aa573b6 100644 --- a/testsuites/psxtmtests/psxtmrwlock01/init.c +++ b/testsuites/psxtmtests/psxtmrwlock01/init.c @@ -20,7 +20,7 @@ pthread_rwlock_t rwlock; -void benchmark_pthread_rwlock_init(void) +static void benchmark_pthread_rwlock_init(void) { benchmark_timer_t end_time; int status; @@ -42,7 +42,7 @@ void benchmark_pthread_rwlock_init(void) } -void benchmark_pthread_rwlock_rdlock(void) +static void benchmark_pthread_rwlock_rdlock(void) { benchmark_timer_t end_time; int status; @@ -62,7 +62,7 @@ void benchmark_pthread_rwlock_rdlock(void) } -void benchmark_pthread_rwlock_unlock(int print) +static void benchmark_pthread_rwlock_unlock(int print) { benchmark_timer_t end_time; int status; @@ -82,7 +82,7 @@ void benchmark_pthread_rwlock_unlock(int print) } } -void benchmark_pthread_rwlock_tryrdlock(void) +static void benchmark_pthread_rwlock_tryrdlock(void) { benchmark_timer_t end_time; int status; @@ -110,7 +110,7 @@ void benchmark_pthread_rwlock_tryrdlock(void) } } -void benchmark_pthread_rwlock_timedrdlock(void) +static void benchmark_pthread_rwlock_timedrdlock(void) { benchmark_timer_t end_time; int status; @@ -130,7 +130,7 @@ void benchmark_pthread_rwlock_timedrdlock(void) } -void benchmark_pthread_rwlock_wrlock(void) +static void benchmark_pthread_rwlock_wrlock(void) { benchmark_timer_t end_time; int status; @@ -150,7 +150,7 @@ void benchmark_pthread_rwlock_wrlock(void) } -void benchmark_pthread_rwlock_trywrlock(void) +static void benchmark_pthread_rwlock_trywrlock(void) { benchmark_timer_t end_time; int status; @@ -179,7 +179,7 @@ void benchmark_pthread_rwlock_trywrlock(void) } } -void benchmark_pthread_rwlock_timedwrlock(void) +static void benchmark_pthread_rwlock_timedwrlock(void) { benchmark_timer_t end_time; int status; @@ -198,7 +198,7 @@ void benchmark_pthread_rwlock_timedwrlock(void) ); } -void benchmark_pthread_rwlock_destroy(void) +static void benchmark_pthread_rwlock_destroy(void) { benchmark_timer_t end_time; int status; |