Skip to contentSkip to conversation

kernel/kallsyms.c: make some code static

PATCH Applied Adrian Bunk 2 participants 2 messages Jan 21, 2005 – Jan 30, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/kallsyms.c: make some code static

This patch makes some needlessly global code static.

---

diffstat output:

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

This patch was already sent on:
- 12 Dec 2004

kernel/kallsyms.c renamed from kernel/kallsyms.c.old +2 -2
@@ -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;
 
Applied
#1 lore raw
Quoted 1 line · Adrian Bunk

This patch makes some needlessly global code static.

Applied,

Sam