linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3] proc: make grab_header static
@ 2008-07-17 21:22 Harvey Harrison
  2008-07-17 22:09 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Harvey Harrison @ 2008-07-17 21:22 UTC (permalink / raw)
  To: Andrew Morton, Al Viro; +Cc: linux-next

fs/proc/proc_sysctl.c:69:25: warning: symbol 'grab_header' was not declared. Should it be static?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
Appeared between next-20080716 and next-20080717

 fs/proc/proc_sysctl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c
index f9a8b89..84f58e8 100644
--- a/fs/proc/proc_sysctl.c
+++ b/fs/proc/proc_sysctl.c
@@ -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);
-- 
1.5.6.3.536.g61aad

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-17 23:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-17 21:22 [PATCH 3/3] proc: make grab_header static Harvey Harrison
2008-07-17 22:09 ` Andrew Morton
2008-07-17 22:15   ` Harvey Harrison
2008-07-17 22:38     ` Andrew Morton
2008-07-17 23:23   ` Al Viro
2008-07-17 23:36     ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).