summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmmq01
diff options
context:
space:
mode:
authorRalf Corsépius <ralf.corsepius@rtems.org>2012-03-02 14:51:10 +0100
committerRalf Corsépius <ralf.corsepius@rtems.org>2012-03-02 14:51:10 +0100
commite6a675e6f95b0c527a666ba75b6c44cf5a9f5f2d (patch)
treed1c05990735c7420889d1b1f041e1a97fbf1809b /testsuites/psxtmtests/psxtmmq01
parent2012-03-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-e6a675e6f95b0c527a666ba75b6c44cf5a9f5f2d.tar.bz2
2011-03-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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.
Diffstat (limited to 'testsuites/psxtmtests/psxtmmq01')
-rw-r--r--testsuites/psxtmtests/psxtmmq01/init.c20
1 files changed, 10 insertions, 10 deletions
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;