[rtems commit] mpci: Make _*_MP_Send_response_packet() static

Sebastian Huber sebh at rtems.org
Mon May 2 11:47:36 UTC 2016


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon May  2 06:17:07 2016 +0200

mpci: Make _*_MP_Send_response_packet() static

---

 cpukit/rtems/include/rtems/rtems/barriermp.h | 13 -------------
 cpukit/rtems/include/rtems/rtems/eventmp.h   | 11 -----------
 cpukit/rtems/include/rtems/rtems/msgmp.h     | 12 ------------
 cpukit/rtems/include/rtems/rtems/partmp.h    | 12 ------------
 cpukit/rtems/include/rtems/rtems/regionmp.h  | 12 ------------
 cpukit/rtems/include/rtems/rtems/semmp.h     | 12 ------------
 cpukit/rtems/include/rtems/rtems/signalmp.h  | 11 -----------
 cpukit/rtems/include/rtems/rtems/taskmp.h    | 11 -----------
 cpukit/rtems/src/eventmp.c                   |  2 +-
 cpukit/rtems/src/msgmp.c                     |  2 +-
 cpukit/rtems/src/partmp.c                    |  2 +-
 cpukit/rtems/src/regionmp.c                  |  2 +-
 cpukit/rtems/src/semmp.c                     |  2 +-
 cpukit/rtems/src/signalmp.c                  |  2 +-
 cpukit/rtems/src/taskmp.c                    |  2 +-
 15 files changed, 7 insertions(+), 101 deletions(-)

diff --git a/cpukit/rtems/include/rtems/rtems/barriermp.h b/cpukit/rtems/include/rtems/rtems/barriermp.h
index c4c2e98..85acb74 100644
--- a/cpukit/rtems/include/rtems/rtems/barriermp.h
+++ b/cpukit/rtems/include/rtems/rtems/barriermp.h
@@ -86,19 +86,6 @@ rtems_status_code _Barrier_MP_Send_request_packet (
 );
 
 /**
- *  @brief _Barrier_MP_Send_response_packet
- *
- *  This routine performs a remote procedure call so that a
- *  directive can be performed on another node.
- */
-
-void _Barrier_MP_Send_response_packet (
-  Barrier_MP_Remote_operations  operation,
-  Objects_Id                    barrier_id,
-  Thread_Control               *the_thread
-);
-
-/**
  *  @brief _Barrier_MP_Process_packet
  *
  *  This routine performs the actions specific to this package for
diff --git a/cpukit/rtems/include/rtems/rtems/eventmp.h b/cpukit/rtems/include/rtems/rtems/eventmp.h
index b65584d..858f624 100644
--- a/cpukit/rtems/include/rtems/rtems/eventmp.h
+++ b/cpukit/rtems/include/rtems/rtems/eventmp.h
@@ -83,17 +83,6 @@ rtems_status_code _Event_MP_Send_request_packet (
 );
 
 /**
- *  @brief Event MP Send Packet Response
- *
- *  This routine performs a remote procedure call so that a
- *  directive can be performed on another node.
- */
-void _Event_MP_Send_response_packet (
-  Event_MP_Remote_operations  operation,
-  Thread_Control             *the_thread
-);
-
-/**
  *  @brief Event MP Packet Process
  *
  *  This routine performs the actions specific to this package for
diff --git a/cpukit/rtems/include/rtems/rtems/msgmp.h b/cpukit/rtems/include/rtems/rtems/msgmp.h
index 436e287..48f872a 100644
--- a/cpukit/rtems/include/rtems/rtems/msgmp.h
+++ b/cpukit/rtems/include/rtems/rtems/msgmp.h
@@ -122,18 +122,6 @@ rtems_status_code _Message_queue_MP_Send_request_packet (
 );
 
 /**
- *  @brief _Message_queue_MP_Send_response_packet
- *
- *  This routine performs a remote procedure call so that a
- *  directive can be performed on another node.
- */
-void _Message_queue_MP_Send_response_packet (
-  Message_queue_MP_Remote_operations  operation,
-  Objects_Id                          message_queue_id,
-  Thread_Control                     *the_thread
-);
-
-/**
  *
  * @brief _Message_queue_MP_Process_packet
  *
diff --git a/cpukit/rtems/include/rtems/rtems/partmp.h b/cpukit/rtems/include/rtems/rtems/partmp.h
index 26af64e..b36ecbc 100644
--- a/cpukit/rtems/include/rtems/rtems/partmp.h
+++ b/cpukit/rtems/include/rtems/rtems/partmp.h
@@ -92,18 +92,6 @@ rtems_status_code _Partition_MP_Send_request_packet (
 );
 
 /**
- *  @brief Partition_MP_Send_response_packet
- *
- *  This routine performs a remote procedure call so that a
- *  directive can be performed on another node.
- */
-void _Partition_MP_Send_response_packet (
-  Partition_MP_Remote_operations  operation,
-  Objects_Id                      partition_id,
-  Thread_Control                 *the_thread
-);
-
-/**
  *
  *  @brief Partition_MP_Process_packet
  *
diff --git a/cpukit/rtems/include/rtems/rtems/regionmp.h b/cpukit/rtems/include/rtems/rtems/regionmp.h
index 6768530..0ecbb80 100644
--- a/cpukit/rtems/include/rtems/rtems/regionmp.h
+++ b/cpukit/rtems/include/rtems/rtems/regionmp.h
@@ -98,18 +98,6 @@ rtems_status_code _Region_MP_Send_request_packet (
 );
 
 /**
- *  @brief Region MP Send Response Packet
- *
- *  This routine performs a remote procedure call so that a
- *  directive can be performed on another node.
- */
-void _Region_MP_Send_response_packet (
-  Region_MP_Remote_operations  operation,
-  Objects_Id                   region_id,
-  Thread_Control              *the_thread
-);
-
-/**
  *  @brief Region MP Process Packet
  *
  *  This routine performs the actions specific to this package for
diff --git a/cpukit/rtems/include/rtems/rtems/semmp.h b/cpukit/rtems/include/rtems/rtems/semmp.h
index 74f9400..24293c6 100644
--- a/cpukit/rtems/include/rtems/rtems/semmp.h
+++ b/cpukit/rtems/include/rtems/rtems/semmp.h
@@ -92,18 +92,6 @@ rtems_status_code _Semaphore_MP_Send_request_packet (
 );
 
 /**
- *  @brief Semaphore MP Send Response Packet
- *
- *  This routine performs a remote procedure call so that a
- *  directive can be performed on another node.
- */
-void _Semaphore_MP_Send_response_packet (
-  Semaphore_MP_Remote_operations  operation,
-  Objects_Id                      semaphore_id,
-  Thread_Control                 *the_thread
-);
-
-/**
  *  @brief Semaphore MP Process Packet
  *
  *  This routine performs the actions specific to this package for
diff --git a/cpukit/rtems/include/rtems/rtems/signalmp.h b/cpukit/rtems/include/rtems/rtems/signalmp.h
index c6b9a3d..9b93d98 100644
--- a/cpukit/rtems/include/rtems/rtems/signalmp.h
+++ b/cpukit/rtems/include/rtems/rtems/signalmp.h
@@ -80,17 +80,6 @@ rtems_status_code _Signal_MP_Send_request_packet (
 );
 
 /**
- *  @brief Signal MP Send Response Packet
- *
- *  This routine performs a remote procedure call so that a
- *  directive can be performed on another node.
- */
-void _Signal_MP_Send_response_packet (
-  Signal_MP_Remote_operations  operation,
-  Thread_Control              *the_thread
-);
-
-/**
  *  @brief Signal MP Process Packet
  *
  *  This routine performs the actions specific to this package for
diff --git a/cpukit/rtems/include/rtems/rtems/taskmp.h b/cpukit/rtems/include/rtems/rtems/taskmp.h
index fb986ea..fdf6223 100644
--- a/cpukit/rtems/include/rtems/rtems/taskmp.h
+++ b/cpukit/rtems/include/rtems/rtems/taskmp.h
@@ -94,17 +94,6 @@ rtems_status_code _RTEMS_tasks_MP_Send_request_packet (
 );
 
 /**
- *  @brief _RTEMS_tasks_MP_Send_response_packet
- *
- *  This routine performs a remote procedure call so that a
- *  directive can be performed on another node.
- */
-void _RTEMS_tasks_MP_Send_response_packet (
-  RTEMS_tasks_MP_Remote_operations  operation,
-  Thread_Control                   *the_thread
-);
-
-/**
  *  @brief _RTEMS_tasks_MP_Process_packet
  *
  *  This routine performs the actions specific to this package for
diff --git a/cpukit/rtems/src/eventmp.c b/cpukit/rtems/src/eventmp.c
index 1532c63..ab6bd1d 100644
--- a/cpukit/rtems/src/eventmp.c
+++ b/cpukit/rtems/src/eventmp.c
@@ -76,7 +76,7 @@ rtems_status_code _Event_MP_Send_request_packet (
   return RTEMS_SUCCESSFUL;
 }
 
-void _Event_MP_Send_response_packet (
+static void _Event_MP_Send_response_packet (
   Event_MP_Remote_operations  operation,
   Thread_Control             *the_thread
 )
diff --git a/cpukit/rtems/src/msgmp.c b/cpukit/rtems/src/msgmp.c
index 3f27068..a06b872 100644
--- a/cpukit/rtems/src/msgmp.c
+++ b/cpukit/rtems/src/msgmp.c
@@ -199,7 +199,7 @@ rtems_status_code _Message_queue_MP_Send_request_packet (
  *
  */
 
-void _Message_queue_MP_Send_response_packet (
+static void _Message_queue_MP_Send_response_packet (
   Message_queue_MP_Remote_operations  operation,
   Objects_Id                          message_queue_id,
   Thread_Control                     *the_thread
diff --git a/cpukit/rtems/src/partmp.c b/cpukit/rtems/src/partmp.c
index 8e9d307..32e160d 100644
--- a/cpukit/rtems/src/partmp.c
+++ b/cpukit/rtems/src/partmp.c
@@ -130,7 +130,7 @@ rtems_status_code _Partition_MP_Send_request_packet (
  *
  */
 
-void _Partition_MP_Send_response_packet (
+static void _Partition_MP_Send_response_packet (
   Partition_MP_Remote_operations  operation,
   Objects_Id                      partition_id,
   Thread_Control                 *the_thread
diff --git a/cpukit/rtems/src/regionmp.c b/cpukit/rtems/src/regionmp.c
index bcdec6b..635b8b7 100644
--- a/cpukit/rtems/src/regionmp.c
+++ b/cpukit/rtems/src/regionmp.c
@@ -122,7 +122,7 @@ rtems_status_code _Region_MP_Send_request_packet (
   return RTEMS_INTERNAL_ERROR;
 }
 
-void _Region_MP_Send_response_packet (
+static void _Region_MP_Send_response_packet (
   Region_MP_Remote_operations  operation,
   Objects_Id                   region_id,
   Thread_Control              *the_thread
diff --git a/cpukit/rtems/src/semmp.c b/cpukit/rtems/src/semmp.c
index 752831e..4632cf2 100644
--- a/cpukit/rtems/src/semmp.c
+++ b/cpukit/rtems/src/semmp.c
@@ -115,7 +115,7 @@ rtems_status_code _Semaphore_MP_Send_request_packet (
   return RTEMS_SUCCESSFUL;
 }
 
-void _Semaphore_MP_Send_response_packet (
+static void _Semaphore_MP_Send_response_packet (
   Semaphore_MP_Remote_operations  operation,
   Objects_Id                      semaphore_id,
   Thread_Control                 *the_thread
diff --git a/cpukit/rtems/src/signalmp.c b/cpukit/rtems/src/signalmp.c
index 40daf69..dabee38 100644
--- a/cpukit/rtems/src/signalmp.c
+++ b/cpukit/rtems/src/signalmp.c
@@ -76,7 +76,7 @@ rtems_status_code _Signal_MP_Send_request_packet (
   return RTEMS_INTERNAL_ERROR;
 }
 
-void _Signal_MP_Send_response_packet (
+static void _Signal_MP_Send_response_packet (
   Signal_MP_Remote_operations  operation,
   Thread_Control              *the_thread
 )
diff --git a/cpukit/rtems/src/taskmp.c b/cpukit/rtems/src/taskmp.c
index e20d1fe..7811fe5 100644
--- a/cpukit/rtems/src/taskmp.c
+++ b/cpukit/rtems/src/taskmp.c
@@ -123,7 +123,7 @@ rtems_status_code _RTEMS_tasks_MP_Send_request_packet (
  *
  */
 
-void _RTEMS_tasks_MP_Send_response_packet (
+static void _RTEMS_tasks_MP_Send_response_packet (
   RTEMS_tasks_MP_Remote_operations  operation,
   Thread_Control                   *the_thread
 )




More information about the vc mailing list