aboutsummaryrefslogtreecommitdiffhomepage
path: root/libao2
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-03 23:01:03 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-03 23:01:03 +0000
commit0864f92e7a55b20a21fc2f5eaf9e72cb799a6f7d (patch)
treeacd33d7cbfa6a967626858375daa802c652dfe3f /libao2
parentd7a5babef76ba9324f303535745af21461bdcc84 (diff)
Get rid of pointless 'extern' keywords.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_dxr2.c4
-rw-r--r--libao2/ao_ivtv.c2
-rw-r--r--libao2/ao_v4l2.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/libao2/ao_dxr2.c b/libao2/ao_dxr2.c
index dc0e762362..b58323613d 100644
--- a/libao2/ao_dxr2.c
+++ b/libao2/ao_dxr2.c
@@ -157,7 +157,7 @@ static int get_space(void){
static void dxr2_send_lpcm_packet(unsigned char* data,int len,int id,unsigned int timestamp,int freq_id)
{
- extern int write_dxr2(const unsigned char *data, int len);
+ int write_dxr2(const unsigned char *data, int len);
if(dxr2_fd < 0) {
mp_msg(MSGT_AO,MSGL_ERR,"DXR2 fd is not valid\n");
@@ -176,7 +176,7 @@ static void dxr2_send_lpcm_packet(unsigned char* data,int len,int id,unsigned in
// it should round it down to outburst*n
// return: number of bytes played
static int play(void* data,int len,int flags){
- extern int write_dxr2(const unsigned char *data, int len);
+ int write_dxr2(const unsigned char *data, int len);
// MPEG and AC3 don't work :-(
if(ao_data.format==AF_FORMAT_MPEG2)
diff --git a/libao2/ao_ivtv.c b/libao2/ao_ivtv.c
index 4d1d578ba0..96ea563c96 100644
--- a/libao2/ao_ivtv.c
+++ b/libao2/ao_ivtv.c
@@ -147,7 +147,7 @@ get_space (void)
static int
play (void *data, int len, int flags)
{
- extern int ivtv_write (unsigned char *data, int len);
+ int ivtv_write (unsigned char *data, int len);
if (ao_data.format != AF_FORMAT_MPEG2)
return 0;
diff --git a/libao2/ao_v4l2.c b/libao2/ao_v4l2.c
index dc63003b06..b1b510ea46 100644
--- a/libao2/ao_v4l2.c
+++ b/libao2/ao_v4l2.c
@@ -144,7 +144,7 @@ get_space (void)
static int
play (void *data, int len, int flags)
{
- extern int v4l2_write (unsigned char *data, int len);
+ int v4l2_write (unsigned char *data, int len);
if (ao_data.format != AF_FORMAT_MPEG2)
return 0;