mirror of
https://github.com/yuzu-emu/discord-rpc
synced 2024-11-22 23:13:48 +00:00
fix decls
This commit is contained in:
parent
ec6af6132d
commit
b85758ec19
2 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ static void updateDiscordPresence()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handleDiscordReady()
|
static void handleDiscordReady(void)
|
||||||
{
|
{
|
||||||
printf("\nDiscord: ready\n");
|
printf("\nDiscord: ready\n");
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue