com php-src: Fix bug #74149 static embed SAPI linkage error: NEWS Zend/zend_signal.h

[email protected] (Joe Watkins)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    8599ce4f18758d4aeff494366d884d4bb7dac2a2
Author:    Joe Watkins <[email protected]>         Thu, 9 Mar 2017 07:42:32 +0000
Parents:   8f799137d7ed6634687e272cea798cac56da4b98
Branches:  PHP-7.1 master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=8599ce4f18758d4aeff494366d884d4bb7dac2a2

Log:
Fix bug #74149 static embed SAPI linkage error

Bugs:
https://bugs.php.net/74149

Changed paths:
  M  NEWS
  M  Zend/zend_signal.h


Diff:
diff --git a/NEWS b/NEWS
index 3b6199f..909eaee 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2017, PHP 7.1.4
 
+- Core:
+  . Fixed bug #74149 (static embed SAPI linkage error). (krakjoe)
+
 - DOM:
   . Fixed bug #74004 (LIBXML_NOWARNING flag ingnored on loadHTML*).
     (somedaysummer)
diff --git a/Zend/zend_signal.h b/Zend/zend_signal.h
index b58115b..b86f39e 100644
--- a/Zend/zend_signal.h
+++ b/Zend/zend_signal.h
@@ -88,7 +88,9 @@ END_EXTERN_C()
 ZEND_API void zend_signal_handler_unblock(void);
 void zend_signal_activate(void);
 void zend_signal_deactivate(void);
+BEGIN_EXTERN_C()
 void zend_signal_startup(void);
+END_EXTERN_C()
 void zend_signal_init(void);
 
 ZEND_API int zend_signal(int signo, void (*handler)(int));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.