Missing externs

This commit is contained in:
Matthew Parkinson
2019-04-25 14:43:21 +01:00
committed by Matthew Parkinson
parent 37afe9d079
commit f1a26db8e5
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
# include <strings.h>
# include <sys/mman.h>
int puts(const char* str);
extern "C" int puts(const char* str);
namespace snmalloc
{

View File

@@ -7,7 +7,7 @@
# include <string.h>
# include <sys/mman.h>
int puts(const char* str);
extern "C" int puts(const char* str);
namespace snmalloc
{