Re: [2.6 patch] loop.c: make two functions static

2005-01-23 Thread Arjan van de Ven
On Sun, 2005-01-23 at 18:32 +0800, andyliu wrote: > hi, adrian > > i always see patches which set functions and variables to static. > what's the main difference between static and non-static things? 1) namespace; static functions/variables are not visible name wise to other .c files 2) optimisat

Re: [2.6 patch] loop.c: make two functions static

2005-01-23 Thread andyliu
hi, adrian i always see patches which set functions and variables to static. what's the main difference between static and non-static things? On Sun, 23 Jan 2005 11:17:10 +0100, Adrian Bunk <[EMAIL PROTECTED]> wrote: > This patch makes two needlessly global functions static. > > Signed-off-by: A