Fix compilation with -Werror=missing-declarations (#127)
This commit is contained in:
parent
f5f2d69a72
commit
8ec10dc011
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue