fix decls

This commit is contained in:
Ben Morse 2018-01-09 10:41:16 -08:00
parent ec6af6132d
commit b85758ec19
2 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ static void updateDiscordPresence()
} }
} }
static void handleDiscordReady() static void handleDiscordReady(void)
{ {
printf("\nDiscord: ready\n"); printf("\nDiscord: ready\n");
} }

View file

@ -304,7 +304,7 @@ extern "C" DISCORD_EXPORT void Discord_Initialize(const char* applicationId,
IoThread.Start(); IoThread.Start();
} }
extern "C" DISCORD_EXPORT void Discord_Shutdown() extern "C" DISCORD_EXPORT void Discord_Shutdown(void)
{ {
if (!Connection) { if (!Connection) {
return; return;
@ -325,7 +325,7 @@ extern "C" DISCORD_EXPORT void Discord_UpdatePresence(const DiscordRichPresence*
SignalIOActivity(); SignalIOActivity();
} }
extern "C" DISCORD_EXPORT void Discord_ClearPresence() extern "C" DISCORD_EXPORT void Discord_ClearPresence(void)
{ {
Discord_UpdatePresence(nullptr); Discord_UpdatePresence(nullptr);
} }
@ -345,7 +345,7 @@ extern "C" DISCORD_EXPORT void Discord_Respond(const char* userId, /* DISCORD_RE
} }
} }
extern "C" DISCORD_EXPORT void Discord_RunCallbacks() extern "C" DISCORD_EXPORT void Discord_RunCallbacks(void)
{ {
// Note on some weirdness: internally we might connect, get other signals, disconnect any number // Note on some weirdness: internally we might connect, get other signals, disconnect any number
// of times inbetween calls here. Externally, we want the sequence to seem sane, so any other // of times inbetween calls here. Externally, we want the sequence to seem sane, so any other