[PATCH 3/3] cache_manager.c: Make _CPU_cache_invalidate_instruction_range() static

Joel Sherrill joel.sherrill at oarcorp.com
Mon May 4 21:34:04 UTC 2015


---
 c/src/lib/libcpu/shared/src/cache_manager.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/c/src/lib/libcpu/shared/src/cache_manager.c b/c/src/lib/libcpu/shared/src/cache_manager.c
index 003d010..b5d07e5 100644
--- a/c/src/lib/libcpu/shared/src/cache_manager.c
+++ b/c/src/lib/libcpu/shared/src/cache_manager.c
@@ -308,8 +308,6 @@ rtems_cache_disable_data( void )
 #endif
 }
 
-
-
 /*
  * THESE FUNCTIONS ONLY HAVE BODIES IF WE HAVE AN INSTRUCTION CACHE
  */
@@ -340,7 +338,7 @@ static void smp_cache_inst_inv_all(void *arg)
 
 #if defined(CPU_INSTRUCTION_CACHE_ALIGNMENT) \
   && !defined(CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS)
-void
+static void
 _CPU_cache_invalidate_instruction_range(
   const void * i_addr,
   size_t n_bytes
-- 
1.9.3




More information about the devel mailing list