aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-29 01:25:22 +0100
committerMax Kellermann <max@duempel.org>2013-12-29 01:25:27 +0100
commita2baeed3290691ced08cf9668b00865fb757698a (patch)
tree6c4788f35f7effa9dd34c9874610218ce62c8b6b
parent92aa464edb9ffc2ded416541ff576abd0b0925b8 (diff)
downloadmpd-a2baeed3290691ced08cf9668b00865fb757698a.tar.gz
mpd-a2baeed3290691ced08cf9668b00865fb757698a.tar.xz
mpd-a2baeed3290691ced08cf9668b00865fb757698a.zip
ls: add "pure" attribute
Diffstat (limited to '')
-rw-r--r--src/ls.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ls.hxx b/src/ls.hxx
index 3879563ee..6d5f989bc 100644
--- a/src/ls.hxx
+++ b/src/ls.hxx
@@ -20,6 +20,8 @@
#ifndef MPD_LS_HXX
#define MPD_LS_HXX
+#include "Compiler.h"
+
#include <stdio.h>
class Client;
@@ -29,6 +31,7 @@ class Client;
* It is not allowed to pass an URI without a scheme, check with
* uri_has_scheme() first.
*/
+gcc_pure
bool uri_supported_scheme(const char *url);
/**