]> granicus.if.org Git - php/commitdiff
Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them.
authorAdam Harvey <aharvey@php.net>
Wed, 24 Sep 2014 20:00:25 +0000 (20:00 +0000)
committerAdam Harvey <aharvey@php.net>
Fri, 31 Oct 2014 17:08:17 +0000 (10:08 -0700)
Zend/zend_float.h
Zend/zend_vm.h
Zend/zend_vm_opcodes.h

index 33f8e93fbf3a55103496caae3d6c1dcf56dfcfa1..d9e4f4be88e5b122240172a45357788b672f9306 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef ZEND_FLOAT_H
 #define ZEND_FLOAT_H
 
+BEGIN_EXTERN_C()
+
 /*
   Define functions for FP initialization and de-initialization.
 */
@@ -28,6 +30,8 @@ extern ZEND_API void zend_init_fpu(TSRMLS_D);
 extern ZEND_API void zend_shutdown_fpu(TSRMLS_D);
 extern ZEND_API void zend_ensure_fpu_mode(TSRMLS_D);
 
+END_EXTERN_C()
+
 /* Copy of the contents of xpfpa.h (which is under public domain)
    See http://wiki.php.net/rfc/rounding for details.
 
index 078be15b743f74365d7cc250d6379688985fdef5..e403e7cc9288305d0ad351b5e4acaa1ae83b389a 100644 (file)
 #ifndef ZEND_VM_H
 #define ZEND_VM_H
 
+BEGIN_EXTERN_C()
+
 ZEND_API void zend_vm_use_old_executor(void);
 ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode);
 
+END_EXTERN_C()
+
 #define ZEND_VM_SET_OPCODE_HANDLER(opline) zend_vm_set_opcode_handler(opline)
 
 #endif
index 4ed726d217f47f031c9a877247e511c78fde09e4..89a1afad4930b03850d710a98b1ac7c56fc9c4b5 100644 (file)
 #ifndef ZEND_VM_OPCODES_H
 #define ZEND_VM_OPCODES_H
 
+BEGIN_EXTERN_C()
+
 ZEND_API const char *zend_get_opcode_name(zend_uchar opcode);
 
+END_EXTERN_C()
+
 #define ZEND_NOP                               0
 #define ZEND_ADD                               1
 #define ZEND_SUB                               2