FilterRegistry: add "pure" attribute

This commit is contained in:
Max Kellermann 2013-10-29 00:05:04 +01:00
parent 20597b3632
commit 095c390df7
1 changed files with 3 additions and 0 deletions

View File

@ -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);