[MPlayer-dev-eng] [path] small cleanup: statci parse_cfgfiles

Stefan Huehner stefan at huehner.org
Sun Jul 2 18:06:28 CEST 2006


Hi,

attached path marks 'parse_cfgfiles' as a static function in mplayer.c
and mencoder.c as it isn't used outside of these files.

Regards,
Stefan

-------------- next part --------------
--- mplayer.c	(working copy)
+++ mplayer.c	(working copy)
@@ -639,7 +639,7 @@
 
 #include "cfg-mplayer.h"
 
-void parse_cfgfiles( m_config_t* conf )
+static void parse_cfgfiles( m_config_t* conf )
 {
 char *conffile;
 int conffile_fd;
--- mencoder.c	(revision 18884)
+++ mencoder.c	(working copy)
@@ -302,7 +302,7 @@
     exit(level);
 }
 
-void parse_cfgfiles( m_config_t* conf )
+static void parse_cfgfiles( m_config_t* conf )
 {
   char *conffile;
   if ((conffile = get_path("mencoder.conf")) == NULL) {


More information about the MPlayer-dev-eng mailing list