diff --git a/src/playlist.h b/src/playlist.h
index 00434961e0a44963cb6957d9d59e17e0170edd76..e0d8ca5718e650937f29306010ee22506afdc424 100644 (file)
--- a/src/playlist.h
+++ b/src/playlist.h
/* ncmpc (Ncurses MPD Client)
- * (c) 2004-2010 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
* Project homepage: http://musicpd.org
*
* This program is free software; you can redistribute it and/or modify
#ifndef MPDCLIENT_PLAYLIST_H
#define MPDCLIENT_PLAYLIST_H
+#include "Compiler.h"
+
#include <mpd/client.h>
#include <assert.h>
return playlist_get_index_from_file(playlist, mpd_song_get_uri(song));
}
+gcc_pure
gint
playlist_get_id_from_uri(const struct mpdclient_playlist *playlist,
const gchar *uri);
+gcc_pure
static inline gint
playlist_get_id_from_same_song(const struct mpdclient_playlist *playlist,
const struct mpd_song *song)