From: RĂ©mi Denis-Courmont Date: Mon, 29 Jun 2009 15:23:53 +0000 (+0300) Subject: Compiler knows better when to inline or not X-Git-Tag: 1.1.0-ff~5191 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=05db60da2ec9dc4369817b6a67426f53483d79b5;p=vlc Compiler knows better when to inline or not --- diff --git a/src/control/video.c b/src/control/video.c index 97d8a11325..fd5ce50909 100644 --- a/src/control/video.c +++ b/src/control/video.c @@ -635,7 +635,7 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi, int b_enable, * a vout *****************************************************************************/ -static inline const char * get_marquee_int_option_identifier(unsigned option) +static const char *get_marquee_int_option_identifier(unsigned option) { static const char * marquee_table[] = { @@ -655,7 +655,7 @@ static inline const char * get_marquee_int_option_identifier(unsigned option) return marquee_table[option]; } -static inline const char * get_marquee_string_option_identifier(unsigned option) +static const char *get_marquee_string_option_identifier(unsigned option) { static const char * marquee_table[] = { @@ -668,7 +668,7 @@ static inline const char * get_marquee_string_option_identifier(unsigned option) } -static inline vlc_object_t * get_marquee_object( libvlc_media_player_t * p_mi ) +static vlc_object_t *get_marquee_object( libvlc_media_player_t * p_mi ) { libvlc_exception_t e; libvlc_exception_init(&e);