From 8990824c9ca4fa8e5d8fe99dfc60c4170032f108 Mon Sep 17 00:00:00 2001 From: Florian Zwoch Date: Wed, 27 Dec 2017 07:21:32 +0100 Subject: [PATCH] make ready() to explicitly take no arguments -> ready(void) (#100) --- include/discord-rpc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/discord-rpc.h b/include/discord-rpc.h index 8c117ac..33c9689 100644 --- a/include/discord-rpc.h +++ b/include/discord-rpc.h @@ -49,7 +49,7 @@ typedef struct DiscordJoinRequest { } DiscordJoinRequest; typedef struct DiscordEventHandlers { - void (*ready)(); + void (*ready)(void); void (*disconnected)(int errorCode, const char* message); void (*errored)(int errorCode, const char* message); void (*joinGame)(const char* joinSecret);