Check function prototype in check_asm function to avoid compiler warnings.
authorMarc Mason <mpeg.blue@free.fr>
Wed, 17 Dec 2008 15:44:40 +0000 (15:44 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 17 Dec 2008 15:44:40 +0000 (15:44 +0000)
patch by Marc Mason, mpeg.blue free fr

Originally committed as revision 16188 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 9f1f0f6..4d23c9c 100755 (executable)
--- a/configure
+++ b/configure
@@ -512,7 +512,7 @@ check_asm(){
     asm="$2"
     shift 2
     check_cc "$@" <<EOF && enable $name || disable $name
-int foo(void){ __asm__ volatile($asm); }
+void foo(void){ __asm__ volatile($asm); }
 EOF
 }