[2.6 patch] kernel/kallsyms.c: make some code static

From: Adrian Bunk
Date: Fri Jan 21 2005 - 05:22:43 EST


This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

diffstat output:
kernel/kallsyms.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


This patch was already sent on:
- 12 Dec 2004

--- linux-2.6.10-rc2-mm4-full/kernel/kallsyms.c.old 2004-12-12 02:56:23.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/kernel/kallsyms.c 2004-12-12 02:56:45.000000000 +0100
@@ -326,7 +326,7 @@
return 0;
}

-struct seq_operations kallsyms_op = {
+static struct seq_operations kallsyms_op = {
.start = s_start,
.next = s_next,
.stop = s_stop,
@@ -368,7 +368,7 @@
.release = kallsyms_release,
};

-int __init kallsyms_init(void)
+static int __init kallsyms_init(void)
{
struct proc_dir_entry *entry;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/