FilterRegistry: add "pure" attribute
This commit is contained in:
parent
20597b3632
commit
095c390df7
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue