mirror of
https://github.com/php/php-src.git
synced 2024-11-29 21:04:10 +08:00
More forgotten prototypes.
This commit is contained in:
parent
20a7232d95
commit
4fe14a780c
@ -554,7 +554,8 @@ php3_formatted_print(int ht, int *len)
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
/* {{{ proto string sprintf(string format [, mixed arg1 [, ...]])
|
||||
Return a formatted string */
|
||||
PHP_FUNCTION(user_sprintf)
|
||||
{
|
||||
char *result;
|
||||
@ -566,8 +567,10 @@ PHP_FUNCTION(user_sprintf)
|
||||
RETVAL_STRINGL(result,len,1);
|
||||
efree(result);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
/* {{{ proto int printf(string format [, mixed arg1 [, ...]])
|
||||
Output a formatted string */
|
||||
PHP_FUNCTION(user_printf)
|
||||
{
|
||||
char *result;
|
||||
@ -579,7 +582,7 @@ PHP_FUNCTION(user_printf)
|
||||
PHPWRITE(result,len);
|
||||
efree(result);
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
||||
/*
|
||||
* Local variables:
|
||||
|
Loading…
Reference in New Issue
Block a user