Fix compilation with -Werror=missing-declarations (#127)

This commit is contained in:
Michał Janiszewski 2018-02-14 20:42:29 +01:00 committed by Mason Sciotti
parent f5f2d69a72
commit 8ec10dc011

View file

@ -1,4 +1,5 @@
#include "discord-rpc.h" #include "discord-rpc.h"
#include "discord_register.h"
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>
@ -8,7 +9,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
bool Mkdir(const char* path) static bool Mkdir(const char* path)
{ {
int result = mkdir(path, 0755); int result = mkdir(path, 0755);
if (result == 0) { if (result == 0) {