[rtems commit] 2011-03-02 Ralf Cors épius <ralf.corsepius at rtems.org>

Ralf Corsepius ralf at rtems.org
Fri Mar 2 13:51:44 UTC 2012


Module:    rtems
Branch:    master
Commit:    e6a675e6f95b0c527a666ba75b6c44cf5a9f5f2d
Changeset: http://git.rtems.org/rtems/commit/?id=e6a675e6f95b0c527a666ba75b6c44cf5a9f5f2d

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Fri Mar  2 14:51:10 2012 +0100

2011-03-02	Ralf Corsépius <ralf.corsepius at 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.

---

 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 61ff69f..bf63828 100644
--- a/testsuites/psxtmtests/ChangeLog
+++ b/testsuites/psxtmtests/ChangeLog
@@ -1,3 +1,16 @@
+2011-03-02	Ralf Corsépius <ralf.corsepius at 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 at 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 095e462..fcbb0df 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 5c8baf0..efec788 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 baddc44..be8673e 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;




More information about the vc mailing list