summaryrefslogtreecommitdiffstats
path: root/testsuites
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
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')
-rw-r--r--testsuites/psxtmtests/ChangeLog13
-rw-r--r--testsuites/psxtmtests/psxtmmq01/init.c20
-rw-r--r--testsuites/psxtmtests/psxtmmutex01/init.c4
-rw-r--r--testsuites/psxtmtests/psxtmsem02/init.c10
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 <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.
+
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* 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;