Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Provide global variables with C linkage, otherwise t...
details: https://anonhg.NetBSD.org/src/rev/7f450b750a34
branches: trunk
changeset: 447367:7f450b750a34
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jan 08 17:35:42 2019 +0000
description:
Provide global variables with C linkage, otherwise they will create
conflicts for C++ modules use.
diffstat:
include/signal.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 70a24d87a24c -r 7f450b750a34 include/signal.h
--- a/include/signal.h Tue Jan 08 17:13:21 2019 +0000
+++ b/include/signal.h Tue Jan 08 17:35:42 2019 +0000
@@ -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 int sys_nsig __RENAME(__sys_nsig14);
#endif
-__BEGIN_DECLS
int raise(int);
#if defined(_NETBSD_SOURCE)
Home |
Main Index |
Thread Index |
Old Index