*Commands: remove extern"C" from C++ headers
This commit is contained in:
@@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
enum command_return
|
enum command_return
|
||||||
handle_lsinfo2(struct client *client, int argc, char *argv[]);
|
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
|
enum command_return
|
||||||
handle_listallinfo(struct client *client, int argc, char *argv[]);
|
handle_listallinfo(struct client *client, int argc, char *argv[]);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
enum command_return
|
enum command_return
|
||||||
handle_subscribe(struct client *client, int argc, char *argv[]);
|
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
|
enum command_return
|
||||||
handle_send_message(struct client *client, int argc, char *argv[]);
|
handle_send_message(struct client *client, int argc, char *argv[]);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
enum command_return
|
enum command_return
|
||||||
handle_urlhandlers(struct client *client, int argc, char *argv[]);
|
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
|
enum command_return
|
||||||
handle_idle(struct client *client, int argc, char *argv[]);
|
handle_idle(struct client *client, int argc, char *argv[]);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
enum command_return
|
enum command_return
|
||||||
handle_enableoutput(struct client *client, int argc, char *argv[]);
|
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
|
enum command_return
|
||||||
handle_devices(struct client *client, int argc, char *argv[]);
|
handle_devices(struct client *client, int argc, char *argv[]);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
enum command_return
|
enum command_return
|
||||||
handle_play(struct client *client, int argc, char *argv[]);
|
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
|
enum command_return
|
||||||
handle_replay_gain_status(struct client *client, int argc, char *argv[]);
|
handle_replay_gain_status(struct client *client, int argc, char *argv[]);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
enum command_return
|
enum command_return
|
||||||
handle_save(struct client *client, int argc, char *argv[]);
|
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
|
enum command_return
|
||||||
handle_listplaylists(struct client *client, int argc, char *argv[]);
|
handle_listplaylists(struct client *client, int argc, char *argv[]);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
enum command_return
|
enum command_return
|
||||||
handle_add(struct client *client, int argc, char *argv[]);
|
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
|
enum command_return
|
||||||
handle_swapid(struct client *client, int argc, char *argv[]);
|
handle_swapid(struct client *client, int argc, char *argv[]);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -22,11 +22,7 @@
|
|||||||
|
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
enum command_return
|
enum command_return
|
||||||
handle_sticker(struct client *client, int argc, char *argv[]);
|
handle_sticker(struct client *client, int argc, char *argv[]);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user