From 4cbe3e34364af38cf8de942cb13145ceff0bd359 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 8 Jan 2019 17:35:42 +0000 Subject: [PATCH] Provide global variables with C linkage, otherwise they will create conflicts for C++ modules use. --- include/signal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/signal.h b/include/signal.h index d67328f7d345..d9b18af5ec89 100644 --- a/include/signal.h +++ b/include/signal.h @@ -1,4 +1,4 @@ -/* $NetBSD: signal.h,v 1.56 2017/05/09 11:14:16 kre Exp $ */ +/* $NetBSD: signal.h,v 1.57 2019/01/08 17:35:42 joerg Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -44,6 +44,7 @@ #include +__BEGIN_DECLS #if defined(_NETBSD_SOURCE) extern const char *const *sys_signame __RENAME(__sys_signame14); #ifndef __SYS_SIGLIST_DECLARED @@ -54,7 +55,6 @@ extern const char *const *sys_siglist __RENAME(__sys_siglist14); extern const int sys_nsig __RENAME(__sys_nsig14); #endif -__BEGIN_DECLS int raise(int); #if defined(_NETBSD_SOURCE)