diff options
| -rw-r--r-- | ext/standard/exec.c | 2 | ||||
| -rw-r--r-- | ext/standard/exec.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index ebf912960b..d89730435b 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -462,7 +462,7 @@ PHPAPI char *php_escape_shell_cmd(char *str) { /* {{{ php_escape_shell_arg */ -PHPAPI *php_escape_shell_arg(char *str) { +PHPAPI char *php_escape_shell_arg(char *str) { int x, y, l; char *cmd; diff --git a/ext/standard/exec.h b/ext/standard/exec.h index 51132e09dd..de37fcad99 100644 --- a/ext/standard/exec.h +++ b/ext/standard/exec.h @@ -32,7 +32,7 @@ PHP_FUNCTION(proc_close); PHP_MINIT_FUNCTION(proc_open); PHPAPI char *php_escape_shell_cmd(char *); -PHPAPI *php_escape_shell_arg(char *); +PHPAPI char *php_escape_shell_arg(char *); int php_Exec(int type, char *cmd, pval *array, pval *return_value TSRMLS_DC); #define PHP_EMPTY_EXEC_PARAM { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot execute a blank command"); RETURN_FALSE; } |
