diff options
author | Max Kellermann <max@duempel.org> | 2013-04-17 22:22:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-04-17 22:22:37 +0200 |
commit | 9e5d2c5bb7093dd10337a5b77f6271e06baa0ebe (patch) | |
tree | 1290b970effda5a2d07f417dc258d9c204c3eb13 /src/encoder_list.h | |
parent | 2df2a989af3296b1d6c7bc829ad3139e290ee474 (diff) | |
download | mpd-9e5d2c5bb7093dd10337a5b77f6271e06baa0ebe.tar.gz mpd-9e5d2c5bb7093dd10337a5b77f6271e06baa0ebe.tar.xz mpd-9e5d2c5bb7093dd10337a5b77f6271e06baa0ebe.zip |
encoder_list: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/EncoderList.hxx (renamed from src/encoder_list.h) | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/encoder_list.h b/src/EncoderList.hxx index 31663c751..69ee8e2bc 100644 --- a/src/encoder_list.h +++ b/src/EncoderList.hxx @@ -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 @@ -17,8 +17,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_ENCODER_LIST_H -#define MPD_ENCODER_LIST_H +#ifndef MPD_ENCODER_LIST_HXX +#define MPD_ENCODER_LIST_HXX struct encoder_plugin; @@ -30,10 +30,6 @@ extern const struct encoder_plugin *const encoder_plugins[]; (plugin = *encoder_plugin_iterator) != NULL; \ ++encoder_plugin_iterator) -#ifdef __cplusplus -extern "C" { -#endif - /** * Looks up an encoder plugin by its name. * @@ -44,8 +40,4 @@ extern "C" { const struct encoder_plugin * encoder_plugin_get(const char *name); -#ifdef __cplusplus -} -#endif - #endif |