From f1a26db8e582248a5432bba7d221ac29490bb5cc Mon Sep 17 00:00:00 2001 From: Matthew Parkinson Date: Thu, 25 Apr 2019 14:43:21 +0100 Subject: [PATCH] Missing externs --- src/pal/pal_apple.h | 2 +- src/pal/pal_linux.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pal/pal_apple.h b/src/pal/pal_apple.h index eabc489..9e456d5 100644 --- a/src/pal/pal_apple.h +++ b/src/pal/pal_apple.h @@ -8,7 +8,7 @@ # include # include -int puts(const char* str); +extern "C" int puts(const char* str); namespace snmalloc { diff --git a/src/pal/pal_linux.h b/src/pal/pal_linux.h index b1af854..fa83a45 100644 --- a/src/pal/pal_linux.h +++ b/src/pal/pal_linux.h @@ -7,7 +7,7 @@ # include # include -int puts(const char* str); +extern "C" int puts(const char* str); namespace snmalloc {