Skip to content

Commit 28a9980

Browse files
committed
code optimization
1 parent d61e695 commit 28a9980

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

swoole_runtime.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,12 @@ static const zend_function_entry swoole_runtime_methods[] =
3535
PHP_FE_END
3636
};
3737

38-
extern "C"
39-
{
4038
void swoole_runtime_init(int module_number TSRMLS_DC)
4139
{
4240
static zend_class_entry _ce;
4341
INIT_CLASS_ENTRY(_ce, "Swoole\\Runtime", swoole_runtime_methods);
4442
ce = zend_register_internal_class(&_ce TSRMLS_CC);
4543
}
46-
}
4744

4845
static auto block_io_functions =
4946
{ "sleep", "usleep", "time_nanosleep", "time_sleep_until", "file_get_contents", "curl_init", "stream_select",

0 commit comments

Comments
 (0)