summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorMax Semenik <maxsem.wiki@gmail.com>2020-07-01 16:32:55 +0300
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-07-06 21:13:34 +0200
commit2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c (patch)
treef23a5c00a96f30a62ddcf626b4c6a6d53809d14f /win32
parent47579986504022d3eab38e24fff5861d5e4eadad (diff)
downloadphp-git-2b5de6f839feea0ae1d5289d59dd7f159fcdcc8c.tar.gz
Remove proto comments from C files
Closes GH-5758
Diffstat (limited to 'win32')
-rw-r--r--win32/codepage.c12
-rw-r--r--win32/signal.c3
2 files changed, 5 insertions, 10 deletions
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;