lkml.org 
[lkml]   [2012]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fs/notify/notification.c: make subsys_initcall function static
On Wed, 21 Mar 2012 11:45:17 -0700
H Hartley Sweeten <hartleys@visionengravers.com> wrote:

> subsys_initcall functions should be marked static.

Well, I suppose there are legitimate situations where they could be
non-static(?), although those would be rather bizarre.

A better reason for making this static is that it has no references
outside this file.



\
 
 \ /
  Last update: 2012-03-22 23:03    [from the cache]
©2003-2011 Jasper Spaans