summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-10-26 20:04:57 +0000
committerAntony Dovgal <tony2001@php.net>2005-10-26 20:04:57 +0000
commitad29a9d3dd9c6689df2fb112ab06c01db4ad8ecf (patch)
treeeadaf36146e7324e13e4fbe2bc4e05680caeb141
parent51ecf50b42214e0836ece21504db284fc6235b65 (diff)
downloadphp-git-ad29a9d3dd9c6689df2fb112ab06c01db4ad8ecf.tar.gz
fix typo
-rw-r--r--ext/standard/exec.c2
-rw-r--r--ext/standard/exec.h2
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; }