diff options
| -rw-r--r-- | ext/standard/exec.c | 4 | ||||
| -rw-r--r-- | ext/standard/exec.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 3619e73850..ebf912960b 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -398,7 +398,7 @@ PHP_FUNCTION(passthru) *NOT* safe for binary strings */ -char *php_escape_shell_cmd(char *str) { +PHPAPI char *php_escape_shell_cmd(char *str) { register int x, y, l; char *cmd; char *p = NULL; @@ -462,7 +462,7 @@ char *php_escape_shell_cmd(char *str) { /* {{{ php_escape_shell_arg */ -char *php_escape_shell_arg(char *str) { +PHPAPI *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 f4c5de5994..51132e09dd 100644 --- a/ext/standard/exec.h +++ b/ext/standard/exec.h @@ -31,8 +31,8 @@ PHP_FUNCTION(proc_open); PHP_FUNCTION(proc_close); PHP_MINIT_FUNCTION(proc_open); -char *php_escape_shell_cmd(char *); -char *php_escape_shell_arg(char *); +PHPAPI char *php_escape_shell_cmd(char *); +PHPAPI *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; } |
