From b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Sat, 3 Jan 2015 01:22:58 -0800 Subject: trailing whitespace removal --- sapi/embed/php_embed.c | 22 +++++++++++----------- sapi/embed/php_embed.h | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'sapi/embed') diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c index f5e6129e0f..c777e84742 100644 --- a/sapi/embed/php_embed.c +++ b/sapi/embed/php_embed.c @@ -115,32 +115,32 @@ static int php_embed_startup(sapi_module_struct *sapi_module) EMBED_SAPI_API sapi_module_struct php_embed_module = { "embed", /* name */ "PHP Embedded Library", /* pretty name */ - + php_embed_startup, /* startup */ php_module_shutdown_wrapper, /* shutdown */ - + NULL, /* activate */ php_embed_deactivate, /* deactivate */ - + php_embed_ub_write, /* unbuffered write */ php_embed_flush, /* flush */ NULL, /* get uid */ NULL, /* getenv */ - + php_error, /* error handler */ - + NULL, /* header handler */ NULL, /* send headers handler */ php_embed_send_header, /* send header handler */ - + NULL, /* read POST data */ php_embed_read_cookies, /* read Cookies */ - + php_embed_register_variables, /* register server variables */ php_embed_log_message, /* Log message */ NULL, /* Get request time */ NULL, /* Child terminate */ - + STANDARD_SAPI_MODULE_PROPERTIES }; /* }}} */ @@ -198,8 +198,8 @@ EMBED_SAPI_API int php_embed_init(int argc, char **argv) if (php_embed_module.startup(&php_embed_module)==FAILURE) { return FAILURE; } - - zend_llist_init(&global_vars, sizeof(char *), NULL, 0); + + zend_llist_init(&global_vars, sizeof(char *), NULL, 0); /* Set some Embedded PHP defaults */ SG(options) |= SAPI_OPTION_NO_CHDIR; @@ -210,7 +210,7 @@ EMBED_SAPI_API int php_embed_init(int argc, char **argv) php_module_shutdown(); return FAILURE; } - + SG(headers_sent) = 1; SG(request_info).no_headers = 1; php_register_variable("PHP_SELF", "-", NULL); diff --git a/sapi/embed/php_embed.h b/sapi/embed/php_embed.h index 82afa686d2..982daa8756 100644 --- a/sapi/embed/php_embed.h +++ b/sapi/embed/php_embed.h @@ -41,14 +41,14 @@ #ifndef PHP_WIN32 #define EMBED_SAPI_API SAPI_API #else - #define EMBED_SAPI_API -#endif + #define EMBED_SAPI_API +#endif #ifdef ZTS ZEND_TSRMLS_CACHE_EXTERN; #endif -BEGIN_EXTERN_C() +BEGIN_EXTERN_C() EMBED_SAPI_API int php_embed_init(int argc, char **argv); EMBED_SAPI_API void php_embed_shutdown(void); extern EMBED_SAPI_API sapi_module_struct php_embed_module; -- cgit v1.2.1