Commit a2baeed3 authored by Max Kellermann's avatar Max Kellermann

ls: add "pure" attribute

parent 92aa464e
...@@ -20,6 +20,8 @@ ...@@ -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; ...@@ -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);
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment