[MPlayer-dev-eng] [patch] make functions static

Stefan Huehner stefan at huehner.org
Sun Jul 2 19:10:39 CEST 2006


Hi,

attached patch marks several function from playtreeparser.c as static,
as these are not used outside.

Regards,
Stefan

-------------- next part --------------
Index: playtreeparser.c
===================================================================
--- playtreeparser.c	(revision 18884)
+++ playtreeparser.c	(working copy)
@@ -133,7 +133,7 @@
 }
 
 
-play_tree_t*
+static play_tree_t*
 parse_asx(play_tree_parser_t* p) {
   int comments = 0,get_line = 1;
   char* line = NULL;
@@ -243,7 +243,7 @@
 }
 
 
-play_tree_t*
+static play_tree_t*
 parse_pls(play_tree_parser_t* p) {
   char *line,*v;
   pls_entry_t* entries = NULL;
@@ -335,7 +335,7 @@
 /*
  Reference Ini-Format: Each entry is assumed a reference
  */
-play_tree_t*
+static play_tree_t*
 parse_ref_ini(play_tree_parser_t* p) {
   char *line,*v;
   play_tree_t *list = NULL, *entry = NULL, *last_entry = NULL;
@@ -378,7 +378,7 @@
   return entry;
 }
 
-play_tree_t*
+static play_tree_t*
 parse_m3u(play_tree_parser_t* p) {
   char* line;
   play_tree_t *list = NULL, *entry = NULL, *last_entry = NULL;
@@ -426,7 +426,7 @@
   return entry;    
 }
 
-play_tree_t*
+static play_tree_t*
 parse_smil(play_tree_parser_t* p) {
   int entrymode=0;
   char* line,source[512],*pos,*s_start,*s_end;
@@ -515,7 +515,7 @@
   return entry;
 }
 
-play_tree_t*
+static play_tree_t*
 embedded_playlist_parse(char *line) {
   int f=DEMUXER_TYPE_PLAYLIST;
   stream_t* stream;
@@ -540,7 +540,7 @@
   return entry;
 }
 
-play_tree_t*
+static play_tree_t*
 parse_textplain(play_tree_parser_t* p) {
   char* line;
   char *c;


More information about the MPlayer-dev-eng mailing list