[MPlayer-cvslog] r23451 - trunk/libmpdemux/demuxer.h
Diego Biurrun
diego at biurrun.de
Mon Jun 4 10:57:48 CEST 2007
On Mon, Jun 04, 2007 at 09:45:26AM +0800, Zuxy Meng wrote:
>
> "Diego Biurrun" <diego at biurrun.de>
> ??????:20070603214740.GA2187 at biurrun.de...
> > On Sat, Jun 02, 2007 at 06:04:57PM +0200, zuxy wrote:
> >>
> >> Log:
> >> Make realloc_struct inline as other functions defined in demuxer.h
> >>
> >> --- trunk/libmpdemux/demuxer.h (original)
> >> +++ trunk/libmpdemux/demuxer.h Sat Jun 2 18:04:56 2007
> >> @@ -275,7 +275,7 @@ inline static void free_demux_packet(dem
> >>
> >> -static void *realloc_struct(void *ptr, size_t nmemb, size_t size) {
> >> +inline static void *realloc_struct(void *ptr, size_t nmemb, size_t size)
> >> {
> >
> > static needs to be the first keyword on a line, this will cause a
> > warning.
>
> Well I'd intended to do that, until I saw all other functions in that file
> had put 'inline' first...
OK
> Should there be a separate patch to fix this?
IMO yes.
Diego
More information about the MPlayer-cvslog
mailing list