Skip to contentSkip to conversation

make fs/proc/proc_sysctl.c:grab_header() static

PATCH New Adrian Bunk 1 participant 1 message Aug 17, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make fs/proc/proc_sysctl.c:grab_header() static

This patch makes the needlessly global grab_header() static.

---
d5d6002b1dc11c33939144a2fd461c517506069e

fs/proc/proc_sysctl.c +1 -1
index f9a8b89..84f58e8 100644
@@ -66,7 +66,7 @@ static struct ctl_table *find_in_table(struct ctl_table *p, struct qstr *name)
 	return NULL;
 }
 
-struct ctl_table_header *grab_header(struct inode *inode)
+static struct ctl_table_header *grab_header(struct inode *inode)
 {
 	if (PROC_I(inode)->sysctl)
 		return sysctl_head_grab(PROC_I(inode)->sysctl);