diff options
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r-- | ext/standard/exec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 3cd5b3a66b..121635589d 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -192,7 +192,7 @@ static int _Exec(int type, char *cmd, pval *array, pval *return_value) /* {{{ proto int exec(string command [, array output [, int return_value]]) Execute an external program */ -void php3_exec(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(exec) { pval *arg1, *arg2, *arg3; int arg_count = ARG_COUNT(ht); @@ -228,7 +228,7 @@ void php3_exec(INTERNAL_FUNCTION_PARAMETERS) /* {{{ proto int system(string command [, int return_value]) Execute an external program and display output */ -void php3_system(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(system) { pval *arg1, *arg2; int arg_count = ARG_COUNT(ht); @@ -255,7 +255,7 @@ void php3_system(INTERNAL_FUNCTION_PARAMETERS) /* {{{ proto int passthru(string command [, int return_value]) Execute an external program and display raw output */ -void php3_passthru(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(passthru) { pval *arg1, *arg2; int arg_count = ARG_COUNT(ht); @@ -320,7 +320,7 @@ char * _php3_escapeshellcmd(char *str) { /* {{{ proto escapeshellcmd(string command) escape shell metacharacters */ -void php3_escapeshellcmd(INTERNAL_FUNCTION_PARAMETERS) +PHP_FUNCTION(escapeshellcmd) { pval *arg1; char *cmd; |