From 5ba8ed9bb766017967edc6d844ecf392dff843a8 Mon Sep 17 00:00:00 2001 From: kettenis <> Date: Tue, 29 Apr 2008 14:44:04 +0000 Subject: [PATCH] Make sure sys_signame and sys_siglist are wrapped in __BEGIN_DECLS. Needed to tell pedantic C++ compilers these symbols have 'C' linkage. ok kurt@ --- src/include/signal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/signal.h b/src/include/signal.h index 982933d8..af3412f5 100644 --- a/src/include/signal.h +++ b/src/include/signal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.h,v 1.11 2007/03/17 21:38:14 espie Exp $ */ +/* $OpenBSD: signal.h,v 1.12 2008/04/29 14:44:04 kettenis Exp $ */ /* $NetBSD: signal.h,v 1.8 1996/02/29 00:04:57 jtc Exp $ */ /*- @@ -42,12 +42,12 @@ #include #endif +__BEGIN_DECLS #if __BSD_VISIBLE extern __const char *__const sys_signame[_NSIG]; extern __const char *__const sys_siglist[_NSIG]; #endif -__BEGIN_DECLS int raise(int); #if __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE void (*bsd_signal(int, void (*)(int)))(int);