[vlc-commits] addons: xmlreading: inline helpers
    Francois Cartegnie 
    git at videolan.org
       
    Mon Feb 10 15:19:17 CET 2014
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 10 15:13:09 2014 +0100| [0ba9b178499aafff792449617319348a8388ea9c] | committer: Francois Cartegnie
addons: xmlreading: inline helpers
kill warnings if unused
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ba9b178499aafff792449617319348a8388ea9c
---
 modules/misc/addons/xmlreading.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/misc/addons/xmlreading.h b/modules/misc/addons/xmlreading.h
index 1bc5c90..159d903 100644
--- a/modules/misc/addons/xmlreading.h
+++ b/modules/misc/addons/xmlreading.h
@@ -45,7 +45,7 @@ struct
 } data_pointer = { {NULL}, TYPE_NONE };
 
 
-static int ReadType( const char *value )
+static inline int ReadType( const char *value )
 {
     if ( !strcmp( value, "playlist" ) )
         return ADDON_PLAYLIST_PARSER;
@@ -59,7 +59,7 @@ static int ReadType( const char *value )
         return ADDON_UNKNOWN;
 }
 
-static const char * getTypePsz( int i_type )
+static inline const char * getTypePsz( int i_type )
 {
     switch( i_type )
     {
    
    
More information about the vlc-commits
mailing list