Browse Source

proto fixes

migration/unlabaled-1.3.2
Hartmut Holzgraefe 23 years ago
parent
commit
dbe4f2238c
  1. 7
      ext/curl/multi.c
  2. 4
      ext/fdf/fdf.c
  3. 10
      ext/ncurses/ncurses_functions.c
  4. 2
      ext/standard/aggregation.c
  5. 2
      ext/standard/dns.c

7
ext/curl/multi.c

@ -62,7 +62,7 @@ PHP_FUNCTION(curl_multi_init)
}
/* }}} */
/* {{{ int curl_multi_add_handle(resource multi, resource ch)
/* {{{ proto int curl_multi_add_handle(resource multi, resource ch)
Add a normal cURL handle to a cURL multi handle */
PHP_FUNCTION(curl_multi_add_handle)
{
@ -119,7 +119,7 @@ static void _make_timeval_struct(struct timeval *to, double timeout)
to->tv_usec = conv % 1000000;
}
/* {{{ int curl_multi_select(resource mh[, double timeout])
/* {{{ proto int curl_multi_select(resource mh[, double timeout])
Get all the sockets associated with the cURL extension, which can then be "selected" */
PHP_FUNCTION(curl_multi_select)
{
@ -230,6 +230,8 @@ PHP_FUNCTION(curl_multi_info_read)
}
/* }}} */
/* {{{ proto void curl_multi_close(resource mh)
Close a set of cURL handles */
PHP_FUNCTION(curl_multi_close)
{
zval *z_mh;
@ -243,6 +245,7 @@ PHP_FUNCTION(curl_multi_close)
zend_list_delete(Z_LVAL_P(z_mh));
}
/* }}} */
void _php_curl_multi_close(zend_rsrc_list_entry *rsrc)
{

4
ext/fdf/fdf.c

@ -991,7 +991,7 @@ PHP_FUNCTION(fdf_set_opt)
}
/* }}} */
/* {{{ proto mixed fdf_get_option(resource fdfdof, string fieldname [, int element])
/* {{{ proto mixed fdf_get_opt(resource fdfdof, string fieldname [, int element])
Gets a value from the opt array of a field */
PHP_FUNCTION(fdf_get_opt) {
zval *r_fdf;
@ -1573,7 +1573,7 @@ PHP_FUNCTION(fdf_enum_values) {
}
/* }}} */
/* {{{ proto fdf_header()
/* {{{ proto void fdf_header(void)
Set FDF specific HTTP headers */
PHP_FUNCTION(fdf_header) {
sapi_header_line ctr = {0};

10
ext/ncurses/ncurses_functions.c

@ -2113,7 +2113,7 @@ PHP_FUNCTION(ncurses_wgetch)
}
/* }}} */
/* {{{ proto int wattroff(resource window, int attrs)
/* {{{ proto int ncurses_wattroff(resource window, int attrs)
Turns off attributes for a window */
PHP_FUNCTION(ncurses_wattroff)
{
@ -2131,7 +2131,7 @@ PHP_FUNCTION(ncurses_wattroff)
}
/* }}} */
/* {{{ proto int wattron(resource window, int attrs)
/* {{{ proto int ncurses_wattron(resource window, int attrs)
Turns on attributes for a window */
PHP_FUNCTION(ncurses_wattron)
{
@ -2149,7 +2149,7 @@ PHP_FUNCTION(ncurses_wattron)
}
/* }}} */
/* {{{ proto int wattrset(resource window, int attrs)
/* {{{ proto int ncurses_wattrset(resource window, int attrs)
Set the attributes for a window */
PHP_FUNCTION(ncurses_wattrset)
{
@ -2167,7 +2167,7 @@ PHP_FUNCTION(ncurses_wattrset)
}
/* }}} */
/* {{{ proto int wstandend(resource window)
/* {{{ proto int ncurses_wstandend(resource window)
End standout mode for a window */
PHP_FUNCTION(ncurses_wstandend)
{
@ -2184,7 +2184,7 @@ PHP_FUNCTION(ncurses_wstandend)
}
/* }}} */
/* {{{ proto int wstandout(resource window)
/* {{{ proto int ncurses_wstandout(resource window)
Enter standout mode for a window */
PHP_FUNCTION(ncurses_wstandout)
{

2
ext/standard/aggregation.c

@ -544,7 +544,7 @@ PHP_FUNCTION(aggregate_properties_by_regexp)
#endif
/* {{{ proto array aggregation_info(object obj)
/* {{{ proto array aggregate_info(object obj)
*/
PHP_FUNCTION(aggregate_info)
{

2
ext/standard/dns.c

@ -207,7 +207,7 @@ static char *php_gethostbyname(char *name)
#if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32) || defined(NETWARE))
/* {{{ proto int dns_check_recored(string host [, string type])
/* {{{ proto int dns_check_record(string host [, string type])
Check DNS records corresponding to a given Internet host name or IP address */
PHP_FUNCTION(dns_check_record)
{

Loading…
Cancel
Save