summaryrefslogtreecommitdiffstats
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-05 13:57:43 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-05 13:57:43 +0000
commitc47d146be8cbfe41df8c4f1ce3b5bb993909514c (patch)
treea5637e12fa6c5016fcdfaae8a61583603c76b1a2 /libavcodec/x86
parent5fd9c8b94aca3b41a34bf24f9ab7bc3ea426a43b (diff)
downloadffmpeg-streaming-c47d146be8cbfe41df8c4f1ce3b5bb993909514c.zip
ffmpeg-streaming-c47d146be8cbfe41df8c4f1ce3b5bb993909514c.tar.gz
Add missing 'void' keyword to parameterless function declarations.
Originally committed as revision 16436 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/dsputil_mmx.c2
-rw-r--r--libavcodec/x86/simple_idct_mmx.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index f76a4fa..1d93351 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -1599,7 +1599,7 @@ QPEL_2TAP(avg_, 8, 3dnow)
#if 0
-static void just_return() { return; }
+static void just_return(void) { return; }
#endif
static void gmc_mmx(uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy,
diff --git a/libavcodec/x86/simple_idct_mmx.c b/libavcodec/x86/simple_idct_mmx.c
index 6306fcb..5786744 100644
--- a/libavcodec/x86/simple_idct_mmx.c
+++ b/libavcodec/x86/simple_idct_mmx.c
@@ -80,7 +80,8 @@ DECLARE_ALIGNED(8, static const int16_t, coeffs[])= {
};
#if 0
-static void unused_var_killer(){
+static void unused_var_killer(void)
+{
int a= wm1010 + d40000;
temp[0]=a;
}
OpenPOWER on IntegriCloud