From 487d4927e2562ea937c455184506134240ba36a4 Mon Sep 17 00:00:00 2001 From: voroshil Date: Sun, 29 Jul 2007 03:55:12 +0000 Subject: 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 --- stream/tv.c | 6 ++---- stream/tv.h | 4 ---- 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 -- cgit v1.2.3