From e6a675e6f95b0c527a666ba75b6c44cf5a9f5f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Fri, 2 Mar 2012 14:51:10 +0100 Subject: =?UTF-8?q?2011-03-02=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * psxtmmq01/init.c: Make benchmark_mq_open, benchmark_mq_open_second, benchmark_mq_close, benchmark_mq_close_second, benchmark_mq_unlink, benchmark_mq_notify, benchmark_mq_send, benchmark_mq_receive, benchmark_mq_timedsend, benchmark_mq_timedreceive static. * psxtmmutex01/init.c: Make test_mutex_create, test_mutex_destroy static. * psxtmsem02/init.c: benchmark_sem_getvalue, benchmark_sem_wait, benchmark_sem_post, benchmark_sem_trywait_available, benchmark_sem_trywait_not_available static. --- testsuites/psxtmtests/ChangeLog | 13 +++++++++++++ testsuites/psxtmtests/psxtmmq01/init.c | 20 ++++++++++---------- testsuites/psxtmtests/psxtmmutex01/init.c | 4 ++-- testsuites/psxtmtests/psxtmsem02/init.c | 10 +++++----- 4 files changed, 30 insertions(+), 17 deletions(-) diff --git a/testsuites/psxtmtests/ChangeLog b/testsuites/psxtmtests/ChangeLog index 61ff69f1fa..bf638284bb 100644 --- a/testsuites/psxtmtests/ChangeLog +++ b/testsuites/psxtmtests/ChangeLog @@ -1,3 +1,16 @@ +2011-03-02 Ralf Corsépius + + * psxtmmq01/init.c: Make benchmark_mq_open, + benchmark_mq_open_second, benchmark_mq_close, + benchmark_mq_close_second, benchmark_mq_unlink, benchmark_mq_notify, + benchmark_mq_send, benchmark_mq_receive, benchmark_mq_timedsend, + benchmark_mq_timedreceive static. + * psxtmmutex01/init.c: Make test_mutex_create, test_mutex_destroy + static. + * psxtmsem02/init.c: benchmark_sem_getvalue, benchmark_sem_wait, + benchmark_sem_post, benchmark_sem_trywait_available, + benchmark_sem_trywait_not_available static. + 2011-12-13 Ralf Corsépius * psxtmbarrier01/init.c: Make benchmark_pthread_barrier_init, diff --git a/testsuites/psxtmtests/psxtmmq01/init.c b/testsuites/psxtmtests/psxtmmq01/init.c index 095e4628af..fcbb0df3b4 100644 --- a/testsuites/psxtmtests/psxtmmq01/init.c +++ b/testsuites/psxtmtests/psxtmmq01/init.c @@ -28,7 +28,7 @@ mqd_t queue; mqd_t queue2; const char *q_name; -void benchmark_mq_open(int printable) +static void benchmark_mq_open(int printable) { benchmark_timer_t end_time; struct mq_attr attr; @@ -52,7 +52,7 @@ void benchmark_mq_open(int printable) ); } -void benchmark_mq_open_second(int printable) +static void benchmark_mq_open_second(int printable) { benchmark_timer_t end_time; struct mq_attr attr; @@ -76,7 +76,7 @@ void benchmark_mq_open_second(int printable) } -void benchmark_mq_close(int printable) +static void benchmark_mq_close(int printable) { benchmark_timer_t end_time; int status; @@ -96,7 +96,7 @@ void benchmark_mq_close(int printable) ); } -void benchmark_mq_close_second(int printable) +static void benchmark_mq_close_second(int printable) { benchmark_timer_t end_time; int status; @@ -116,7 +116,7 @@ void benchmark_mq_close_second(int printable) ); } -void benchmark_mq_unlink(void) +static void benchmark_mq_unlink(void) { benchmark_timer_t end_time; int status; @@ -135,7 +135,7 @@ void benchmark_mq_unlink(void) ); } -void benchmark_mq_notify(void) +static void benchmark_mq_notify(void) { benchmark_timer_t end_time; int status; @@ -158,7 +158,7 @@ void benchmark_mq_notify(void) ); } -void benchmark_mq_send(void) +static void benchmark_mq_send(void) { benchmark_timer_t end_time; int status; @@ -178,7 +178,7 @@ void benchmark_mq_send(void) ); } -void benchmark_mq_receive(void) +static void benchmark_mq_receive(void) { benchmark_timer_t end_time; int status; @@ -200,7 +200,7 @@ void benchmark_mq_receive(void) ); } -void benchmark_mq_timedsend(void) +static void benchmark_mq_timedsend(void) { benchmark_timer_t end_time; int status; @@ -224,7 +224,7 @@ void benchmark_mq_timedsend(void) ); } -void benchmark_mq_timedreceive(void) +static void benchmark_mq_timedreceive(void) { benchmark_timer_t end_time; int status; diff --git a/testsuites/psxtmtests/psxtmmutex01/init.c b/testsuites/psxtmtests/psxtmmutex01/init.c index 5c8baf039e..efec788633 100644 --- a/testsuites/psxtmtests/psxtmmutex01/init.c +++ b/testsuites/psxtmtests/psxtmmutex01/init.c @@ -21,7 +21,7 @@ pthread_mutex_t MutexId; -void test_mutex_create(void) +static void test_mutex_create(void) { benchmark_timer_t end_time; int status; @@ -40,7 +40,7 @@ void test_mutex_create(void) ); } -void test_mutex_destroy(void) +static void test_mutex_destroy(void) { benchmark_timer_t end_time; int status; diff --git a/testsuites/psxtmtests/psxtmsem02/init.c b/testsuites/psxtmtests/psxtmsem02/init.c index baddc44fa0..be8673e37e 100644 --- a/testsuites/psxtmtests/psxtmsem02/init.c +++ b/testsuites/psxtmtests/psxtmsem02/init.c @@ -24,7 +24,7 @@ sem_t sem1; sem_t *n_sem1; -void benchmark_sem_getvalue(void) +static void benchmark_sem_getvalue(void) { benchmark_timer_t end_time; int status; @@ -44,7 +44,7 @@ void benchmark_sem_getvalue(void) ); } -void benchmark_sem_wait(void) +static void benchmark_sem_wait(void) { benchmark_timer_t end_time; int status; @@ -63,7 +63,7 @@ void benchmark_sem_wait(void) ); } -void benchmark_sem_post(void) +static void benchmark_sem_post(void) { benchmark_timer_t end_time; int status; @@ -82,7 +82,7 @@ void benchmark_sem_post(void) ); } -void benchmark_sem_trywait_available(void) +static void benchmark_sem_trywait_available(void) { benchmark_timer_t end_time; int status; @@ -101,7 +101,7 @@ void benchmark_sem_trywait_available(void) ); } -void benchmark_sem_trywait_not_available(void) +static void benchmark_sem_trywait_not_available(void) { benchmark_timer_t end_time; int status; -- cgit v1.2.3