]> git.sesse.net Git - vlc/commitdiff
FileToUrl does not need to be extern
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 9 Mar 2010 21:33:02 +0000 (23:33 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 9 Mar 2010 21:33:21 +0000 (23:33 +0200)
modules/control/http/http.h
modules/control/http/util.c

index 3b9e98c5448beb70ebc849089721ea37b99de519..d76bd2bdc33c334f298c2a5ba028d597d9e1327f 100644 (file)
@@ -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 );
 
index f3ee86579e3d611a2ac86e02ac68b19f3bf87cf1..adeea0672959a3e1f26657a1dcbbe3a8aa232d3e 100644 (file)
@@ -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;