[FFmpeg-devel] Change prototype in configure

Diego Biurrun diego
Wed Dec 17 16:44:51 CET 2008


On Wed, Dec 17, 2008 at 02:29:44PM +0000, M?ns Rullg?rd wrote:
> 
> Diego Biurrun wrote:
> > On Wed, Dec 17, 2008 at 02:10:25PM +0100, Marc Mason wrote:
> >>
> >> On my platform, the last test run by configure generates a warning.
> >>
> >> BEGIN ffmpeg-conf-323-2844-15508.c
> >>      1   int foo(void){ __asm__ volatile(".align 3"); }
> >> END ffmpeg-conf-323-2844-15508.c
> >> [...]
> >> In function 'foo': warning: control reaches end of non-void function
> >>
> >> --- configure   (revision 16187)
> >> +++ configure   (working copy)
> >> @@ -512,7 +512,7 @@
> >>       asm="$2"
> >>       shift 2
> >>       check_cc "$@" <<EOF && enable $name || disable $name
> >> -int foo(void){ __asm__ volatile($asm); }
> >> +void foo(void){ __asm__ volatile($asm); }
> >>   EOF
> >>   }
> >
> > Looks OK, Mans?
> 
> Yes.

Applied.

Diego




More information about the ffmpeg-devel mailing list