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 | |
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')
-rw-r--r-- | testsuites/psxtmtests/ChangeLog | 20 | ||||
-rw-r--r-- | testsuites/psxtmtests/psxtmbarrier01/init.c | 4 | ||||
-rw-r--r-- | testsuites/psxtmtests/psxtmkey01/init.c | 4 | ||||
-rw-r--r-- | testsuites/psxtmtests/psxtmrwlock01/init.c | 18 | ||||
-rw-r--r-- | testsuites/psxtmtests/psxtmsem01/init.c | 14 | ||||
-rw-r--r-- | testsuites/psxtmtests/psxtmthread01/init.c | 2 |
6 files changed, 41 insertions, 21 deletions
diff --git a/testsuites/psxtmtests/ChangeLog b/testsuites/psxtmtests/ChangeLog index 0e731419d2..61ff69f1fa 100644 --- a/testsuites/psxtmtests/ChangeLog +++ b/testsuites/psxtmtests/ChangeLog @@ -1,3 +1,23 @@ +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. + 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com> PR 1589/build diff --git a/testsuites/psxtmtests/psxtmbarrier01/init.c b/testsuites/psxtmtests/psxtmbarrier01/init.c index edb9a4c370..eb52c23dc3 100644 --- a/testsuites/psxtmtests/psxtmbarrier01/init.c +++ b/testsuites/psxtmtests/psxtmbarrier01/init.c @@ -20,7 +20,7 @@ pthread_barrier_t barrier; -void benchmark_pthread_barrier_init(void) +static void benchmark_pthread_barrier_init(void) { benchmark_timer_t end_time; int status; @@ -46,7 +46,7 @@ void benchmark_pthread_barrier_init(void) ); } -void benchmark_pthread_barrier_destroy(void) +static void benchmark_pthread_barrier_destroy(void) { benchmark_timer_t end_time; int status; diff --git a/testsuites/psxtmtests/psxtmkey01/init.c b/testsuites/psxtmtests/psxtmkey01/init.c index 98c254f2b3..2de58ba9e3 100644 --- a/testsuites/psxtmtests/psxtmkey01/init.c +++ b/testsuites/psxtmtests/psxtmkey01/init.c @@ -21,7 +21,7 @@ pthread_key_t Key; -void benchmark_pthread_key_create(void) +static void benchmark_pthread_key_create(void) { benchmark_timer_t end_time; int status; @@ -41,7 +41,7 @@ void benchmark_pthread_key_create(void) } -void benchmark_pthread_key_delete(void) +static void benchmark_pthread_key_delete(void) { benchmark_timer_t end_time; int status; 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; diff --git a/testsuites/psxtmtests/psxtmsem01/init.c b/testsuites/psxtmtests/psxtmsem01/init.c index 490d612b00..200883806b 100644 --- a/testsuites/psxtmtests/psxtmsem01/init.c +++ b/testsuites/psxtmtests/psxtmsem01/init.c @@ -27,7 +27,7 @@ sem_t sem1; sem_t *n_sem1; sem_t *n_sem2; -void benchmark_sem_init(void) +static void benchmark_sem_init(void) { benchmark_timer_t end_time; int status; @@ -46,7 +46,7 @@ void benchmark_sem_init(void) ); } -void benchmark_sem_destroy(void) +static void benchmark_sem_destroy(void) { benchmark_timer_t end_time; int status; @@ -65,7 +65,7 @@ void benchmark_sem_destroy(void) ); } -void benchmark_sem_open(bool report_time) +static void benchmark_sem_open(bool report_time) { benchmark_timer_t end_time; @@ -84,7 +84,7 @@ void benchmark_sem_open(bool report_time) } } -void benchmark_sem_close(bool report_time) +static void benchmark_sem_close(bool report_time) { benchmark_timer_t end_time; int status; @@ -105,7 +105,7 @@ void benchmark_sem_close(bool report_time) } } -void benchmark_sem_unlink(const char *message) +static void benchmark_sem_unlink(const char *message) { benchmark_timer_t end_time; int status; @@ -124,7 +124,7 @@ void benchmark_sem_unlink(const char *message) ); } -void benchmark_sem_open_second(void) +static void benchmark_sem_open_second(void) { benchmark_timer_t end_time; @@ -141,7 +141,7 @@ void benchmark_sem_open_second(void) ); } -void benchmark_sem_close_second(void) +static void benchmark_sem_close_second(void) { benchmark_timer_t end_time; int status; diff --git a/testsuites/psxtmtests/psxtmthread01/init.c b/testsuites/psxtmtests/psxtmthread01/init.c index 6a4d8caaf2..59ab64efaf 100644 --- a/testsuites/psxtmtests/psxtmthread01/init.c +++ b/testsuites/psxtmtests/psxtmthread01/init.c @@ -30,7 +30,7 @@ void *TestThread( } -void benchmark_pthread_create( +static void benchmark_pthread_create( int iteration, void *argument ) |