From 095c390df736ebff74a0e2a982ef4a1220dea135 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Oct 2013 00:05:04 +0100 Subject: FilterRegistry: add "pure" attribute --- src/FilterRegistry.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/FilterRegistry.hxx') diff --git a/src/FilterRegistry.hxx b/src/FilterRegistry.hxx index c21d8a597..286420f92 100644 --- a/src/FilterRegistry.hxx +++ b/src/FilterRegistry.hxx @@ -26,6 +26,8 @@ #ifndef MPD_FILTER_REGISTRY_HXX #define MPD_FILTER_REGISTRY_HXX +#include "Compiler.h" + extern const struct filter_plugin null_filter_plugin; extern const struct filter_plugin chain_filter_plugin; extern const struct filter_plugin convert_filter_plugin; @@ -34,6 +36,7 @@ extern const struct filter_plugin normalize_filter_plugin; extern const struct filter_plugin volume_filter_plugin; extern const struct filter_plugin replay_gain_filter_plugin; +gcc_pure const struct filter_plugin * filter_plugin_by_name(const char *name); -- cgit v1.2.3