From 2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Wed, 1 Jul 2020 16:32:55 +0300 Subject: Remove proto comments from C files Closes GH-5758 --- win32/codepage.c | 12 ++++-------- win32/signal.c | 3 +-- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'win32') diff --git a/win32/codepage.c b/win32/codepage.c index 5ed0fd50a5..6c00c532ec 100644 --- a/win32/codepage.c +++ b/win32/codepage.c @@ -555,8 +555,7 @@ PW32CP const struct php_win32_cp *php_win32_cp_cli_do_restore(DWORD id) /* Userspace functions, see basic_functions.* for arginfo and decls. */ -/* {{{ proto bool sapi_windows_cp_set(int cp) - * Set process codepage. */ +/* {{{ Set process codepage. */ PHP_FUNCTION(sapi_windows_cp_set) { zend_long id; @@ -585,8 +584,7 @@ PHP_FUNCTION(sapi_windows_cp_set) } /* }}} */ -/* {{{ proto int sapi_windows_cp_get([string kind]) - * Get process codepage. */ +/* {{{ Get process codepage. */ PHP_FUNCTION(sapi_windows_cp_get) { char *kind; @@ -608,8 +606,7 @@ PHP_FUNCTION(sapi_windows_cp_get) /* }}} */ -/* {{{ proto bool sapi_windows_cp_is_utf8(void) - * Indicates whether the codepage is UTF-8 compatible. */ +/* {{{ Indicates whether the codepage is UTF-8 compatible. */ PHP_FUNCTION(sapi_windows_cp_is_utf8) { if (zend_parse_parameters_none() == FAILURE) { @@ -620,8 +617,7 @@ PHP_FUNCTION(sapi_windows_cp_is_utf8) } /* }}} */ -/* {{{ proto string sapi_windows_cp_conv(int|string in_codepage, int|string out_codepage, string subject) - * Convert string from one codepage to another. */ +/* {{{ Convert string from one codepage to another. */ PHP_FUNCTION(sapi_windows_cp_conv) { char *ret; diff --git a/win32/signal.c b/win32/signal.c index 26bedd1088..2436313d2a 100644 --- a/win32/signal.c +++ b/win32/signal.c @@ -84,8 +84,7 @@ static BOOL WINAPI php_win32_signal_system_ctrl_handler(DWORD evt) return TRUE; }/*}}}*/ -/* {{{ proto bool sapi_windows_set_ctrl_handler(callable handler, [, bool add = true]) - Assigns a CTRL signal handler to a PHP function */ +/* {{{ Assigns a CTRL signal handler to a PHP function */ PHP_FUNCTION(sapi_windows_set_ctrl_handler) { zval *handler = NULL; -- cgit v1.2.1