lkml.org 
[lkml]   [2005]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: why the interrupt handler should be marked "static" for it is never called directly from another file.
I see, if a function in a module is not marked by static ,it can be
accessed by any other function in kernel, while , using a static can
avoid it .

thanks a lot !!


2005/8/11, Giuliano Pochini <pochini@denise.shiny.it>:
>
>
> On Thu, 11 Aug 2005, n l wrote:
>
> > could you explain its reason for using static ?
>
> Anything which is never referenced from another file should be
> static in order to keep namespace pollution low.
>
>
> --
> Giuliano.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-11 11:12    [W:0.046 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site