mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-27 12:24:15 +01:00
Fix compilation with -Werror=missing-declarations (#127)
This commit is contained in:
parent
f5f2d69a72
commit
8ec10dc011
@ -1,4 +1,5 @@
|
||||
#include "discord-rpc.h"
|
||||
#include "discord_register.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <errno.h>
|
||||
@ -8,7 +9,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
bool Mkdir(const char* path)
|
||||
static bool Mkdir(const char* path)
|
||||
{
|
||||
int result = mkdir(path, 0755);
|
||||
if (result == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user