diff options
author | Max Kellermann <max@duempel.org> | 2013-10-29 00:05:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-29 00:05:04 +0100 |
commit | 095c390df736ebff74a0e2a982ef4a1220dea135 (patch) | |
tree | a515bc51178e7a01280f47b04b6f53a60d483337 | |
parent | 20597b3632d3b6e25ba532716106f90d5b64d0e8 (diff) |
FilterRegistry: add "pure" attribute
-rw-r--r-- | src/FilterRegistry.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
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); |