mirror of https://code.videolan.org/videolan/vlc
dbus: dbus_tracklist: add missing inline qualifier
Those functions are defined in a header file which will not use them directly. `static` only will imply that the function will be used in the file including it or the header itself. `static inline` is much more suitable and will remove the unused function warning.
This commit is contained in:
parent
17ada6c55f
commit
8ce9af051b
|
@ -74,7 +74,7 @@ void tracklist_append_event_destroy( tracklist_append_event_t *event );
|
|||
void tracklist_remove_event_destroy( tracklist_remove_event_t *event );
|
||||
|
||||
/* Gets next event in the list */
|
||||
static tracklist_append_event_t *
|
||||
static inline tracklist_append_event_t *
|
||||
tracklist_append_event_next( tracklist_append_event_t *event ) {
|
||||
if( !event )
|
||||
return NULL;
|
||||
|
@ -83,7 +83,7 @@ tracklist_append_event_next( tracklist_append_event_t *event ) {
|
|||
(p - offsetof(struct tracklist_append_event, change_ev));
|
||||
}
|
||||
|
||||
static tracklist_remove_event_t *
|
||||
static inline tracklist_remove_event_t *
|
||||
tracklist_remove_event_next( tracklist_remove_event_t *event ) {
|
||||
if( !event )
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue