OSDN Git Service

Convert asm keyword into __asm__.
authorDiego Pettenò <flameeyes@gmail.com>
Thu, 16 Oct 2008 13:34:30 +0000 (13:34 +0000)
committerDiego Pettenò <flameeyes@gmail.com>
Thu, 16 Oct 2008 13:34:30 +0000 (13:34 +0000)
commit7ad6469eae0fc7bf1f2462436e900389ba6dd406
treec32b92b9c7ca09e3ca465824a189ef55b4ce2e24
parentbe449fca79a3b0394143f0a77c99784e65868d9f
Convert asm keyword into __asm__.

Neither the asm() nor the __asm__() keyword is not part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 synta.

Originally committed as revision 27778 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/rgb2rgb_template.c
libswscale/swscale-example.c
libswscale/swscale.c
libswscale/swscale_template.c
libswscale/yuv2rgb_template.c
libswscale/yuv2rgb_vis.c