From: Christophe Mutricy Date: Sat, 19 May 2007 00:35:48 +0000 (+0000) Subject: oups, better put the prototype before using the function X-Git-Tag: 0.9.0-test0~7360 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5f018616efa69287d92c9452132c3f5aeb699e6f;p=vlc oups, better put the prototype before using the function --- diff --git a/include/vlc_url.h b/include/vlc_url.h index b501b3ae2d..971cf34aad 100644 --- a/include/vlc_url.h +++ b/include/vlc_url.h @@ -44,6 +44,12 @@ typedef struct char *psz_buffer; /* to be freed */ } vlc_url_t; +VLC_EXPORT( char *, unescape_URI_duplicate, ( const char *psz ) ); +VLC_EXPORT( void, unescape_URI, ( char *psz ) ); +VLC_EXPORT( char *, decode_URI_duplicate, ( const char *psz ) ); +VLC_EXPORT( void, decode_URI, ( char *psz ) ); +VLC_EXPORT( char *, encode_URI_component, ( const char *psz ) ); + /***************************************************************************** * vlc_UrlParse: ***************************************************************************** @@ -188,11 +194,6 @@ static inline void vlc_UrlClean( vlc_url_t *url ) url->psz_buffer = NULL; } -VLC_EXPORT( char *, unescape_URI_duplicate, ( const char *psz ) ); -VLC_EXPORT( void, unescape_URI, ( char *psz ) ); -VLC_EXPORT( char *, decode_URI_duplicate, ( const char *psz ) ); -VLC_EXPORT( void, decode_URI, ( char *psz ) ); -VLC_EXPORT( char *, encode_URI_component, ( const char *psz ) ); static inline char *vlc_UrlEncode( const char *psz_url ) {