Skip to content

Commit 9bf33b4

Browse files
committed
Fix compilation on early PHP 5.3
1 parent ce84a8d commit 9bf33b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

geospatial.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ ZEND_END_ARG_INFO()
3939
* Every user visible function must have an entry in geospatial_functions[].
4040
*/
4141
const zend_function_entry geospatial_functions[] = {
42-
PHP_FE(haversine, haversine_args) /* For testing, remove later. */
43-
PHP_FE_END /* Must be the last line in geospatial_functions[] */
42+
PHP_FE(haversine, haversine_args)
43+
{ NULL, NULL, NULL }
4444
};
4545
/* }}} */
4646

0 commit comments

Comments
 (0)