Module Name:    src
Committed By:   joerg
Date:           Tue Jan  8 17:35:42 UTC 2019

Modified Files:
        src/include: signal.h

Log Message:
Provide global variables with C linkage, otherwise they will create
conflicts for C++ modules use.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/include/signal.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/signal.h
diff -u src/include/signal.h:1.56 src/include/signal.h:1.57
--- src/include/signal.h:1.56	Tue May  9 11:14:16 2017
+++ src/include/signal.h	Tue Jan  8 17:35:42 2019
@@ -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 __
 extern const int sys_nsig __RENAME(__sys_nsig14);
 #endif
 
-__BEGIN_DECLS
 int	raise(int);
 
 #if defined(_NETBSD_SOURCE)

Reply via email to