Commit 96ea7e8d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

FileToUrl does not need to be extern

parent e3c255e6
......@@ -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 );
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment