summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/basic_functions.c6
-rw-r--r--ext/standard/link.c9
-rw-r--r--main/php.h1
3 files changed, 7 insertions, 9 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 0cef5c0eac..9ca142281e 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -172,6 +172,12 @@ function_entry basic_functions[] = {
PHP_FE(urldecode, NULL)
PHP_FE(rawurlencode, NULL)
PHP_FE(rawurldecode, NULL)
+
+ PHP_FE(readlink, NULL)
+ PHP_FE(linkinfo, NULL)
+ PHP_FE(symlink, NULL)
+ PHP_FE(link, NULL)
+ PHP_FE(unlink, NULL)
PHP_FE(exec, second_and_third_args_force_ref)
PHP_FE(system, second_arg_force_ref)
diff --git a/ext/standard/link.c b/ext/standard/link.c
index c6a2e51686..a33253add9 100644
--- a/ext/standard/link.c
+++ b/ext/standard/link.c
@@ -182,15 +182,6 @@ PHP_FUNCTION(unlink)
}
/* }}} */
-function_entry link_functions[] = {
- PHP_FE(readlink, NULL)
- PHP_FE(linkinfo, NULL)
- PHP_FE(symlink, NULL)
- PHP_FE(link, NULL)
- PHP_FE(unlink, NULL)
- {NULL, NULL, NULL}
-};
-
/*
* Local variables:
diff --git a/main/php.h b/main/php.h
index ae74736efa..eee90b356e 100644
--- a/main/php.h
+++ b/main/php.h
@@ -275,6 +275,7 @@ extern char **environ;
extern void phperror(char *error);
extern PHPAPI void php3_error(int type, const char *format,...);
+extern PHPAPI int php3_write(void *buf, int size);
extern PHPAPI int php3_printf(const char *format,...);
extern void php3_log_err(char *log_message);
extern int Debug(char *format,...);