summaryrefslogtreecommitdiff
path: root/sapi/embed
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-01-03 01:22:58 -0800
committerStanislav Malyshev <stas@php.net>2015-01-10 15:07:38 -0800
commitb7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc (patch)
tree0e09490075ee4f9a75a77ef4168d8ee254c52e5b /sapi/embed
parent773c8b0c092a0e9ad5c5548815bcb9991d54d5c1 (diff)
downloadphp-git-b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc.tar.gz
trailing whitespace removal
Diffstat (limited to 'sapi/embed')
-rw-r--r--sapi/embed/php_embed.c22
-rw-r--r--sapi/embed/php_embed.h6
2 files changed, 14 insertions, 14 deletions
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;