[opensm patch] cl_vector_copy16/32/64 should be static functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Honggang Li <honli@xxxxxxxxxx>

Signed-off-by: Honggang Li <honli@xxxxxxxxxx>
---
 complib/cl_vector.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/complib/cl_vector.c b/complib/cl_vector.c
index f309a098..374dc2e2 100644
--- a/complib/cl_vector.c
+++ b/complib/cl_vector.c
@@ -118,7 +118,7 @@ static void cl_vector_copy8(OUT void *const p_dest,
  *	None
  *
  */
-void cl_vector_copy16(OUT void *const p_dest,
+static void cl_vector_copy16(OUT void *const p_dest,
 		      IN const void *const p_src, IN const size_t size)
 {
 	CL_ASSERT(size == sizeof(uint16_t));
@@ -143,7 +143,7 @@ void cl_vector_copy16(OUT void *const p_dest,
  *	None
  *
  */
-void cl_vector_copy32(OUT void *const p_dest,
+static void cl_vector_copy32(OUT void *const p_dest,
 		      IN const void *const p_src, IN const size_t size)
 {
 	CL_ASSERT(size == sizeof(uint32_t));
@@ -168,7 +168,7 @@ void cl_vector_copy32(OUT void *const p_dest,
  *	None
  *
  */
-void cl_vector_copy64(OUT void *const p_dest,
+static void cl_vector_copy64(OUT void *const p_dest,
 		      IN const void *const p_src, IN const size_t size)
 {
 	CL_ASSERT(size == sizeof(uint64_t));
-- 
2.14.4




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux