summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c4
1 files changed, 2 insertions, 2 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;