From 145c1d214c174e5162910b736d0baca0920aa2e0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 25 Sep 2012 12:19:18 +0200 Subject: *Commands: remove extern"C" from C++ headers --- src/DatabaseCommands.hxx | 4 ---- src/MessageCommands.hxx | 4 ---- src/OtherCommands.hxx | 4 ---- src/OutputCommands.hxx | 4 ---- src/PlayerCommands.hxx | 4 ---- src/PlaylistCommands.hxx | 4 ---- src/QueueCommands.hxx | 4 ---- src/StickerCommands.hxx | 4 ---- 8 files changed, 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 -- cgit v1.2.3