[2.6 patch] make x86/mm/dump_pagetables.c:pt_dump_init() static

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Monday, April 21, 2008 - 1:51 am

This patch makes the needlessly global pt_dump_init() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
ef2be4c3ac52a07d3f423ab3f3c84c4bf43915a3 diff --git a/arch/x86/mm/dump_pagetables.c b/arch/x86/mm/dump_pagetables.c
index 6791b83..2c24bea 100644
--- a/arch/x86/mm/dump_pagetables.c
+++ b/arch/x86/mm/dump_pagetables.c
@@ -324,7 +324,7 @@ static const struct file_operations ptdump_fops = {
 	.release	= single_release,
 };
 
-int pt_dump_init(void)
+static int pt_dump_init(void)
 {
 	struct dentry *pe;
 

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] make x86/mm/dump_pagetables.c:pt_dump_init() s ..., Adrian Bunk, (Mon Apr 21, 1:51 am)