diff --git a/src/snmalloc/pal/pal_linux.h b/src/snmalloc/pal/pal_linux.h index ffa16eb..f38377b 100644 --- a/src/snmalloc/pal/pal_linux.h +++ b/src/snmalloc/pal/pal_linux.h @@ -19,7 +19,7 @@ # include # endif -extern "C" int puts(const char* str); +# include namespace snmalloc { diff --git a/src/snmalloc/pal/pal_posix.h b/src/snmalloc/pal/pal_posix.h index 463b710..610bbe2 100644 --- a/src/snmalloc/pal/pal_posix.h +++ b/src/snmalloc/pal/pal_posix.h @@ -23,8 +23,6 @@ # include #endif -extern "C" int puts(const char* str); - namespace snmalloc { /**