diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 762d8bee13c2..f84d286ff149 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -377,7 +377,7 @@ PHPAPI zend_string *php_escape_shell_cmd(const zend_string *unescaped_cmd) /* }}} */ /* {{{ php_escape_shell_arg */ -PHPAPI zend_string *php_escape_shell_arg(const zend_string *unescaped_arg) +static zend_string *php_escape_shell_arg(const zend_string *unescaped_arg) { size_t x, y = 0; zend_string *cmd; diff --git a/ext/standard/exec.h b/ext/standard/exec.h index 1ad755363e3d..4fe3744f1a92 100644 --- a/ext/standard/exec.h +++ b/ext/standard/exec.h @@ -21,7 +21,6 @@ PHP_MINIT_FUNCTION(proc_open); PHP_MINIT_FUNCTION(exec); PHPAPI zend_string *php_escape_shell_cmd(const zend_string *unescaped_cmd); -PHPAPI zend_string *php_escape_shell_arg(const zend_string *unescaped_arg); PHPAPI int php_exec(int type, const char *cmd, zval *array, zval *return_value); #endif /* EXEC_H */