FilterRegistry: add "pure" attribute
This commit is contained in:
@@ -26,6 +26,8 @@
|
|||||||
#ifndef MPD_FILTER_REGISTRY_HXX
|
#ifndef MPD_FILTER_REGISTRY_HXX
|
||||||
#define 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 null_filter_plugin;
|
||||||
extern const struct filter_plugin chain_filter_plugin;
|
extern const struct filter_plugin chain_filter_plugin;
|
||||||
extern const struct filter_plugin convert_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 volume_filter_plugin;
|
||||||
extern const struct filter_plugin replay_gain_filter_plugin;
|
extern const struct filter_plugin replay_gain_filter_plugin;
|
||||||
|
|
||||||
|
gcc_pure
|
||||||
const struct filter_plugin *
|
const struct filter_plugin *
|
||||||
filter_plugin_by_name(const char *name);
|
filter_plugin_by_name(const char *name);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user