Mercurial > mplayer.hg
changeset 23881:5a5c7866921f
Removing forward declarations of routines used only in tv.c
Marking above routines as static
Removing unfaithful comment
author | voroshil |
---|---|
date | Sun, 29 Jul 2007 03:55:12 +0000 |
parents | 1c888cc4ebbb |
children | d5be90343fac |
files | stream/tv.c stream/tv.h |
diffstat | 2 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/tv.c Sun Jul 29 03:38:01 2007 +0000 +++ b/stream/tv.c Sun Jul 29 03:55:12 2007 +0000 @@ -505,9 +505,7 @@ 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 @@ return(NULL); } -int tv_uninit(tvi_handle_t *tvh) +static int tv_uninit(tvi_handle_t *tvh) { int res; if(!tvh) return 1;
--- a/stream/tv.h Sun Jul 29 03:38:01 2007 +0000 +++ b/stream/tv.h Sun Jul 29 03:55:12 2007 +0000 @@ -152,10 +152,6 @@ #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