diff options
| author | joerg <joerg@NetBSD.org> | 2019-01-08 17:35:42 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2019-01-08 17:35:42 +0000 |
| commit | c8e6541830416b6c7101eccb03d9ec774bc6b430 (patch) | |
| tree | a8e6e584c885a4c47968c4cdd166fd3335f19234 /include | |
| parent | d90fa4845adf14000cdd7e98d3003dc989a23177 (diff) | |
Provide global variables with C linkage, otherwise they will create
conflicts for C++ modules use.
Diffstat (limited to 'include')
| -rw-r--r-- | include/signal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/signal.h b/include/signal.h index d67328f7d34..d9b18af5ec8 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 <sys/signal.h> +__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) |
