Fixed compile error.

This commit is contained in:
bkaradzic 2014-04-27 08:49:09 -07:00
parent f0013b8c9f
commit 5b31ef54a2
2 changed files with 3 additions and 2 deletions

View file

@ -410,7 +410,7 @@ struct FONScontext
void* errorUptr;
};
static void* fons__tmpalloc(size_t size, void* up)
void* fons__tmpalloc(size_t size, void* up)
{
unsigned char* ptr;
@ -425,7 +425,7 @@ static void* fons__tmpalloc(size_t size, void* up)
return ptr;
}
static void fons__tmpfree(void* ptr, void* up)
void fons__tmpfree(void* ptr, void* up)
{
(void)ptr;
(void)up;

View file

@ -18,6 +18,7 @@
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include "nanovg.h"
#define FONTSTASH_IMPLEMENTATION
#include "fontstash.h"