Missing externs
This commit is contained in:
committed by
Matthew Parkinson
parent
37afe9d079
commit
f1a26db8e5
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user