summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-29 03:55:12 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-29 03:55:12 +0000
commit487d4927e2562ea937c455184506134240ba36a4 (patch)
tree7db402d3dbbcec7828cf4b0a0146eefbe48cef49 /stream
parentd68160b3c28462db95178eecfd312bf5b6eec58d (diff)
downloadmpv-487d4927e2562ea937c455184506134240ba36a4.tar.bz2
mpv-487d4927e2562ea937c455184506134240ba36a4.tar.xz
Removing forward declarations of routines used only in tv.c
Marking above routines as static Removing unfaithful comment git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23901 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/tv.c6
-rw-r--r--stream/tv.h4
2 files changed, 2 insertions, 8 deletions
diff --git a/stream/tv.c b/stream/tv.c
index d61f4d9cf9..7258d7ff19 100644
--- a/stream/tv.c
+++ b/stream/tv.c
@@ -505,9 +505,7 @@ done:
return 1;
}
-/* ================== STREAM_TV ===================== */
-
-tvi_handle_t *tv_begin(void)
+static tvi_handle_t *tv_begin(void)
{
int i;
tvi_handle_t* h;
@@ -539,7 +537,7 @@ tvi_handle_t *tv_begin(void)
return(NULL);
}
-int tv_uninit(tvi_handle_t *tvh)
+static int tv_uninit(tvi_handle_t *tvh)
{
int res;
if(!tvh) return 1;
diff --git a/stream/tv.h b/stream/tv.h
index 1ae6094ec4..2f43820eb4 100644
--- a/stream/tv.h
+++ b/stream/tv.h
@@ -152,10 +152,6 @@ extern char *tv_channel_last_real;
#define TVI_CONTROL_SPC_SET_INPUT 0x402 /* set input channel (tv,s-video,composite..) */
#define TVI_CONTROL_SPC_GET_NORMID 0x403 /* get normid from norm name */
-extern tvi_handle_t *tv_begin(void);
-extern int tv_init(tvi_handle_t *tvh);
-extern int tv_uninit(tvi_handle_t *tvh);
-
int tv_set_color_options(tvi_handle_t *tvh, int opt, int val);
int tv_get_color_options(tvi_handle_t *tvh, int opt, int* val);
#define TV_COLOR_BRIGHTNESS 1