This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] raise: Add missing extern "C"


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e1913d218d8037e7e7a733f40c8cd6f6891916b5

commit e1913d218d8037e7e7a733f40c8cd6f6891916b5
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Nov 24 14:02:11 2016 +0100

    raise: Add missing extern "C"
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/signal.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc
index d819e77..3d5049e 100644
--- a/winsup/cygwin/signal.cc
+++ b/winsup/cygwin/signal.cc
@@ -279,7 +279,7 @@ _pinfo::kill (siginfo_t& si)
   return res;
 }
 
-int
+extern "C" int
 raise (int sig)
 {
   return kill (myself->pid, sig);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]