[MPlayer-dev-eng] [PATCH] Inlining realloc_struct

Zuxy Meng zuxy.meng at gmail.com
Sat Jun 2 19:48:45 CEST 2007


Hi,

2007/6/3, Uoti Urpala <uoti.urpala at pp1.inet.fi>:
> On Sun, 2007-06-03 at 00:32 +0800, Zuxy Meng wrote:
> > 2007/6/3, Uoti Urpala <uoti.urpala at pp1.inet.fi>:
> > > Static functions defined in separate files do not affect each other
> > > whether inline or not.
> >
> > Sure. But making it inline doesn't hurt either since it's in a header
> > file, and has the additional benefit of avoiding 'unused after
> > defined' warning.
>
> How is "since it's in a header file" relevant? It can increase code size
> just like it would with functions not in a header file (though of course
> this case doesn't have that big an effect, and not having a separate
> static function per every file which uses it would further reduce code
> size).

The 'since' clause should have been applied to what was after 'and'.
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list