summaryrefslogtreecommitdiff
path: root/sapi/cli/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cli/cli.h')
-rw-r--r--sapi/cli/cli.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sapi/cli/cli.h b/sapi/cli/cli.h
index e49a203821..30dc4fdfa0 100644
--- a/sapi/cli/cli.h
+++ b/sapi/cli/cli.h
@@ -30,12 +30,12 @@
#endif
-extern PHP_CLI_API size_t sapi_cli_single_write(const char *str, size_t str_length TSRMLS_DC);
+extern PHP_CLI_API size_t sapi_cli_single_write(const char *str, size_t str_length);
typedef struct {
- size_t (*cli_shell_write)(const char *str, size_t str_length TSRMLS_DC);
- size_t (*cli_shell_ub_write)(const char *str, size_t str_length TSRMLS_DC);
- int (*cli_shell_run)(TSRMLS_D);
+ size_t (*cli_shell_write)(const char *str, size_t str_length);
+ size_t (*cli_shell_ub_write)(const char *str, size_t str_length);
+ int (*cli_shell_run)(void);
} cli_shell_callbacks_t;
extern PHP_CLI_API cli_shell_callbacks_t *php_cli_get_shell_callbacks();