Browse Source

arch/x86/mm/pageattr.c: Quiet sparse noise; local functions should be static

Local functions should be marked static.  This also quiets the
following sparse noise:

  warning: symbol '_set_memory_array' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: hartleys@visionengravers.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
H Hartley Sweeten 13 years ago
parent
commit
2d070eff6b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86/mm/pageattr.c

+ 1 - 1
arch/x86/mm/pageattr.c

@@ -998,7 +998,7 @@ out_err:
 }
 }
 EXPORT_SYMBOL(set_memory_uc);
 EXPORT_SYMBOL(set_memory_uc);
 
 
-int _set_memory_array(unsigned long *addr, int addrinarray,
+static int _set_memory_array(unsigned long *addr, int addrinarray,
 		unsigned long new_type)
 		unsigned long new_type)
 {
 {
 	int i, j;
 	int i, j;