ls: add "pure" attribute

This commit is contained in:
Max Kellermann 2013-12-29 01:25:22 +01:00
parent 92aa464edb
commit a2baeed329

View File

@ -20,6 +20,8 @@
#ifndef MPD_LS_HXX #ifndef MPD_LS_HXX
#define MPD_LS_HXX #define MPD_LS_HXX
#include "Compiler.h"
#include <stdio.h> #include <stdio.h>
class Client; class Client;
@ -29,6 +31,7 @@ class Client;
* It is not allowed to pass an URI without a scheme, check with * It is not allowed to pass an URI without a scheme, check with
* uri_has_scheme() first. * uri_has_scheme() first.
*/ */
gcc_pure
bool uri_supported_scheme(const char *url); bool uri_supported_scheme(const char *url);
/** /**