aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-25 12:19:18 +0200
committerMax Kellermann <max@duempel.org>2012-09-25 12:19:18 +0200
commit145c1d214c174e5162910b736d0baca0920aa2e0 (patch)
treefe1681820a4f17de3e255331dd5a363a58078add
parentb62a8e3e3e8be005ccc8be8d157a0fb92d461e31 (diff)
*Commands: remove extern"C" from C++ headers
-rw-r--r--src/DatabaseCommands.hxx4
-rw-r--r--src/MessageCommands.hxx4
-rw-r--r--src/OtherCommands.hxx4
-rw-r--r--src/OutputCommands.hxx4
-rw-r--r--src/PlayerCommands.hxx4
-rw-r--r--src/PlaylistCommands.hxx4
-rw-r--r--src/QueueCommands.hxx4
-rw-r--r--src/StickerCommands.hxx4
8 files changed, 0 insertions, 32 deletions
diff --git a/src/DatabaseCommands.hxx b/src/DatabaseCommands.hxx
index 24ff7132..2b93faf4 100644
--- a/src/DatabaseCommands.hxx
+++ b/src/DatabaseCommands.hxx
@@ -22,8 +22,6 @@
#include "command.h"
-G_BEGIN_DECLS
-
enum command_return
handle_lsinfo2(struct client *client, int argc, char *argv[]);
@@ -54,6 +52,4 @@ handle_list(struct client *client, int argc, char *argv[]);
enum command_return
handle_listallinfo(struct client *client, int argc, char *argv[]);
-G_END_DECLS
-
#endif
diff --git a/src/MessageCommands.hxx b/src/MessageCommands.hxx
index 4fc10bf2..111c06ff 100644
--- a/src/MessageCommands.hxx
+++ b/src/MessageCommands.hxx
@@ -22,8 +22,6 @@
#include "command.h"
-G_BEGIN_DECLS
-
enum command_return
handle_subscribe(struct client *client, int argc, char *argv[]);
@@ -39,6 +37,4 @@ handle_read_messages(struct client *client, int argc, char *argv[]);
enum command_return
handle_send_message(struct client *client, int argc, char *argv[]);
-G_END_DECLS
-
#endif
diff --git a/src/OtherCommands.hxx b/src/OtherCommands.hxx
index d0dc1953..c4cc3ac2 100644
--- a/src/OtherCommands.hxx
+++ b/src/OtherCommands.hxx
@@ -22,8 +22,6 @@
#include "command.h"
-G_BEGIN_DECLS
-
enum command_return
handle_urlhandlers(struct client *client, int argc, char *argv[]);
@@ -66,6 +64,4 @@ handle_config(struct client *client, int argc, char *argv[]);
enum command_return
handle_idle(struct client *client, int argc, char *argv[]);
-G_END_DECLS
-
#endif
diff --git a/src/OutputCommands.hxx b/src/OutputCommands.hxx
index e0d28c97..1dc4c5ee 100644
--- a/src/OutputCommands.hxx
+++ b/src/OutputCommands.hxx
@@ -22,8 +22,6 @@
#include "command.h"
-G_BEGIN_DECLS
-
enum command_return
handle_enableoutput(struct client *client, int argc, char *argv[]);
@@ -33,6 +31,4 @@ handle_disableoutput(struct client *client, int argc, char *argv[]);
enum command_return
handle_devices(struct client *client, int argc, char *argv[]);
-G_END_DECLS
-
#endif
diff --git a/src/PlayerCommands.hxx b/src/PlayerCommands.hxx
index 8abc147f..40a8a779 100644
--- a/src/PlayerCommands.hxx
+++ b/src/PlayerCommands.hxx
@@ -22,8 +22,6 @@
#include "command.h"
-G_BEGIN_DECLS
-
enum command_return
handle_play(struct client *client, int argc, char *argv[]);
@@ -87,6 +85,4 @@ handle_replay_gain_mode(struct client *client, int argc, char *argv[]);
enum command_return
handle_replay_gain_status(struct client *client, int argc, char *argv[]);
-G_END_DECLS
-
#endif
diff --git a/src/PlaylistCommands.hxx b/src/PlaylistCommands.hxx
index 8f83f655..267ed5c9 100644
--- a/src/PlaylistCommands.hxx
+++ b/src/PlaylistCommands.hxx
@@ -22,8 +22,6 @@
#include "command.h"
-G_BEGIN_DECLS
-
enum command_return
handle_save(struct client *client, int argc, char *argv[]);
@@ -57,6 +55,4 @@ handle_playlistadd(struct client *client, int argc, char *argv[]);
enum command_return
handle_listplaylists(struct client *client, int argc, char *argv[]);
-G_END_DECLS
-
#endif
diff --git a/src/QueueCommands.hxx b/src/QueueCommands.hxx
index ec3230f7..b28608f6 100644
--- a/src/QueueCommands.hxx
+++ b/src/QueueCommands.hxx
@@ -22,8 +22,6 @@
#include "command.h"
-G_BEGIN_DECLS
-
enum command_return
handle_add(struct client *client, int argc, char *argv[]);
@@ -81,6 +79,4 @@ handle_swap(struct client *client, int argc, char *argv[]);
enum command_return
handle_swapid(struct client *client, int argc, char *argv[]);
-G_END_DECLS
-
#endif
diff --git a/src/StickerCommands.hxx b/src/StickerCommands.hxx
index f4dff775..c253d0bb 100644
--- a/src/StickerCommands.hxx
+++ b/src/StickerCommands.hxx
@@ -22,11 +22,7 @@
#include "command.h"
-G_BEGIN_DECLS
-
enum command_return
handle_sticker(struct client *client, int argc, char *argv[]);
-G_END_DECLS
-
#endif