diff options
author | Max Kellermann <max@duempel.org> | 2013-08-04 13:54:14 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-04 14:07:50 +0200 |
commit | fe53a376a3c2d6e7aa14c73df56df816e2d89d6f (patch) | |
tree | fd558f8cc84de5d1abe1059c152349e5eb8bb73c /src/PlaylistPlugin.hxx | |
parent | 65842cd99e82e30801bf287cd027c14e4ce3bd15 (diff) | |
download | mpd-fe53a376a3c2d6e7aa14c73df56df816e2d89d6f.tar.gz mpd-fe53a376a3c2d6e7aa14c73df56df816e2d89d6f.tar.xz mpd-fe53a376a3c2d6e7aa14c73df56df816e2d89d6f.zip |
PlaylistPlugin: pass config_param reference
Diffstat (limited to 'src/PlaylistPlugin.hxx')
-rw-r--r-- | src/PlaylistPlugin.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PlaylistPlugin.hxx b/src/PlaylistPlugin.hxx index ea39f6258..069b818ba 100644 --- a/src/PlaylistPlugin.hxx +++ b/src/PlaylistPlugin.hxx @@ -55,7 +55,7 @@ struct playlist_plugin { * @return true if the plugin was initialized successfully, * false if the plugin is not available */ - bool (*init)(const struct config_param *param); + bool (*init)(const config_param ¶m); /** * Deinitialize a plugin which was initialized successfully. @@ -96,7 +96,7 @@ struct playlist_plugin { */ static inline bool playlist_plugin_init(const struct playlist_plugin *plugin, - const struct config_param *param) + const config_param ¶m) { return plugin->init != NULL ? plugin->init(param) |