Make Sleep function static on linux to avoid compile errors

This commit is contained in:
Adam Honse 2019-12-22 22:44:28 -06:00
parent 1db45f2cf2
commit 74bcfbd940
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
#else
#include <unistd.h>
void Sleep(unsigned int milliseconds)
static void Sleep(unsigned int milliseconds)
{
usleep(1000 * milliseconds);
}

View file

@ -11,7 +11,7 @@
#else
#include <unistd.h>
void Sleep(unsigned int milliseconds)
static void Sleep(unsigned int milliseconds)
{
usleep(1000 * milliseconds);
}