Commit 0ba9b178 authored by Francois Cartegnie's avatar Francois Cartegnie

addons: xmlreading: inline helpers

kill warnings if unused
parent 58ea4ace
...@@ -45,7 +45,7 @@ struct ...@@ -45,7 +45,7 @@ struct
} data_pointer = { {NULL}, TYPE_NONE }; } data_pointer = { {NULL}, TYPE_NONE };
static int ReadType( const char *value ) static inline int ReadType( const char *value )
{ {
if ( !strcmp( value, "playlist" ) ) if ( !strcmp( value, "playlist" ) )
return ADDON_PLAYLIST_PARSER; return ADDON_PLAYLIST_PARSER;
...@@ -59,7 +59,7 @@ static int ReadType( const char *value ) ...@@ -59,7 +59,7 @@ static int ReadType( const char *value )
return ADDON_UNKNOWN; return ADDON_UNKNOWN;
} }
static const char * getTypePsz( int i_type ) static inline const char * getTypePsz( int i_type )
{ {
switch( i_type ) switch( i_type )
{ {
......
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