[MPlayer-cvslog] r23901 - in trunk/stream: tv.c tv.h

voroshil subversion at mplayerhq.hu
Sun Jul 29 05:55:12 CEST 2007


Author: voroshil
Date: Sun Jul 29 05:55:12 2007
New Revision: 23901

Log:
Removing forward declarations of routines used only in tv.c
Marking above routines as static
Removing unfaithful comment



Modified:
   trunk/stream/tv.c
   trunk/stream/tv.h

Modified: trunk/stream/tv.c
==============================================================================
--- trunk/stream/tv.c	(original)
+++ trunk/stream/tv.c	Sun Jul 29 05:55:12 2007
@@ -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;

Modified: trunk/stream/tv.h
==============================================================================
--- trunk/stream/tv.h	(original)
+++ trunk/stream/tv.h	Sun Jul 29 05:55:12 2007
@@ -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



More information about the MPlayer-cvslog mailing list