[FFmpeg-devel] Change prototype in configure

Måns Rullgård mans
Wed Dec 17 15:29:44 CET 2008


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.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list