[MPlayer-dev-eng] [PATCH] -noconfig option
Alban Bedel
albeu at free.fr
Tue Apr 15 22:22:58 CEST 2008
On Tue, 15 Apr 2008 23:40:56 +0400
Andrew Savchenko <Bircoph at list.ru> wrote:
> > and the noconfig_all function can be made static.
>
> Well, I do not object against this. But what is the reason to make
> it static? It has no arguments neither variable declarations, thus
> I can see no benefits nor disadvantages of making it static.
I don't see what you mean, perhaps you are confusing things with static
methods in c++. A static function is just local to the compilation
unit, so other compilation unit can't use it directly. It's generally a
good habit to make any function which is not "public" static.
Albeu
More information about the MPlayer-dev-eng
mailing list