diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-12-03 15:23:30 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-12-03 15:23:30 +0000 |
commit | 9686df2be543b740ec71e6ef633f312b8592813f (patch) | |
tree | 19f9d20b719c124cba7a6f878d0f84e1c0c82ed3 /libavcodec/ppc | |
parent | 26ae363e06722389964dae79e1f19a0a7f66b6d0 (diff) | |
download | ffmpeg-9686df2be543b740ec71e6ef633f312b8592813f.tar.gz |
Delete unnecessary 'extern' keywords.
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/dsputil_altivec.h | 2 | ||||
-rw-r--r-- | libavcodec/ppc/dsputil_ppc.c | 10 | ||||
-rw-r--r-- | libavcodec/ppc/mpegvideo_altivec.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/ppc/dsputil_altivec.h b/libavcodec/ppc/dsputil_altivec.h index 63f817a215..03ff0b9fc8 100644 --- a/libavcodec/ppc/dsputil_altivec.h +++ b/libavcodec/ppc/dsputil_altivec.h @@ -25,7 +25,7 @@ #include <stdint.h> -extern int has_altivec(void); +int has_altivec(void); void put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, int line_size, int h); diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c index 443e1db3c0..124453ef9b 100644 --- a/libavcodec/ppc/dsputil_ppc.c +++ b/libavcodec/ppc/dsputil_ppc.c @@ -27,11 +27,11 @@ #ifdef HAVE_ALTIVEC #include "dsputil_altivec.h" -extern void fdct_altivec(int16_t *block); -extern void gmc1_altivec(uint8_t *dst, uint8_t *src, int stride, int h, - int x16, int y16, int rounder); -extern void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); -extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); +void fdct_altivec(int16_t *block); +void gmc1_altivec(uint8_t *dst, uint8_t *src, int stride, int h, + int x16, int y16, int rounder); +void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); +void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx); diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index ba1719f45e..28ada7a316 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -585,8 +585,8 @@ POWERPC_PERF_STOP_COUNT(altivec_dct_unquantize_h263_num, nCoeffs == 63); } -extern void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); -extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); +void idct_put_altivec(uint8_t *dest, int line_size, int16_t *block); +void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); void MPV_common_init_altivec(MpegEncContext *s) { |