summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r--ext/standard/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 0e651e57a0..831a372b23 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -196,7 +196,7 @@ function_entry php3_file_functions[] = {
PHP_FE(fseek, NULL)
PHP_FE(ftell, NULL)
PHP_FE(fwrite, NULL)
- {"fputs", php3_fwrite, NULL},
+ PHP_FALIAS(fputs, fwrite, NULL)
PHP_FE(mkdir, NULL)
PHP_FE(rename, NULL)
PHP_FE(copy, NULL)
@@ -1027,7 +1027,7 @@ PHP_FUNCTION(fwrite)
/*
wrapper for setvbuf()
*/
-void php3_set_file_buffer(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(set_file_buffer)
{
pval *arg1, *arg2;
FILE *fp;