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

Uoti Urpala uoti.urpala at pp1.inet.fi
Sat Jun 2 19:33:09 CEST 2007


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).




More information about the MPlayer-dev-eng mailing list