[vlc-commits] commit: FileToUrl does not need to be extern ( Rémi Denis-Courmont )
    git at videolan.org 
    git at videolan.org
       
    Tue Mar  9 22:49:53 CET 2010
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar  9 23:33:02 2010 +0200| [96ea7e8d80399ad020537a37c9f46c91458daa04] | committer: Rémi Denis-Courmont 
FileToUrl does not need to be extern
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96ea7e8d80399ad020537a37c9f46c91458daa04
---
 modules/control/http/http.h |    2 --
 modules/control/http/util.c |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/modules/control/http/http.h b/modules/control/http/http.h
index 3b9e98c..d76bd2b 100644
--- a/modules/control/http/http.h
+++ b/modules/control/http/http.h
@@ -93,8 +93,6 @@ int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
                         char *psz_dir );
 /** This function loads a file into a buffer */
 int FileLoad( FILE *f, char **pp_data, int *pi_data );
-/** This function creates a suitable URL for a filename */
-char *FileToUrl( char *name, bool *pb_index );
 /** This function returns the real path of a file or directory */
 char *RealPath( const char *psz_src );
 
diff --git a/modules/control/http/util.c b/modules/control/http/util.c
index f3ee865..adeea06 100644
--- a/modules/control/http/util.c
+++ b/modules/control/http/util.c
@@ -40,7 +40,7 @@
  ****************************************************************************/
 
 /* ToUrl: create a good name for an url from filename */
-char *FileToUrl( char *name, bool *pb_index )
+static char *FileToUrl( char *name, bool *pb_index )
 {
     char *url, *p;
 
    
    
More information about the vlc-commits
mailing list