diff options
author | Max Kellermann <max@duempel.org> | 2013-02-01 17:47:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-02-01 17:47:09 +0100 |
commit | 3894450b10baeaa17c871cb5dc1a0961e0726fae (patch) | |
tree | 66d8b5fa85eb70e13ab0826345103505ab694d58 /src/filter/null_filter_plugin.c | |
parent | ec07f6ec835abccda5ff7bf346645739fb5e116a (diff) | |
download | mpd-3894450b10baeaa17c871cb5dc1a0961e0726fae.tar.gz mpd-3894450b10baeaa17c871cb5dc1a0961e0726fae.tar.xz mpd-3894450b10baeaa17c871cb5dc1a0961e0726fae.zip |
filter: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/filter/NullFilterPlugin.cxx (renamed from src/filter/null_filter_plugin.c) | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/filter/null_filter_plugin.c b/src/filter/NullFilterPlugin.cxx index 7728c55bf..9c1a9c959 100644 --- a/src/filter/null_filter_plugin.c +++ b/src/filter/NullFilterPlugin.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -25,9 +25,9 @@ */ #include "config.h" -#include "filter_plugin.h" -#include "filter_internal.h" -#include "filter_registry.h" +#include "FilterPlugin.hxx" +#include "FilterInternal.hxx" +#include "FilterRegistry.hxx" #include <glib.h> #include <assert.h> @@ -85,10 +85,10 @@ null_filter_filter(struct filter *_filter, } const struct filter_plugin null_filter_plugin = { - .name = "null", - .init = null_filter_init, - .finish = null_filter_finish, - .open = null_filter_open, - .close = null_filter_close, - .filter = null_filter_filter, + "null", + null_filter_init, + null_filter_finish, + null_filter_open, + null_filter_close, + null_filter_filter, }; |