com php-src: reduce the struct size by 8 bytes on 64 bit: main/streams/php_stream_transport.h
| From: | Anatol Belski | Date: | Fri, 12 Sep 2014 21:10:56 +0000 |
| Subject: | com php-src: reduce the struct size by 8 bytes on 64 bit: main/streams/php_stream_transport.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81538@lists.php.net to get a copy of this message | ||
Commit: bea0face486cf8908eca45ced779d0bfa0b86a75
Author: Anatol Belski <ab@php.net> Fri, 12 Sep 2014 23:10:56 +0200
Parents: 67beaebaa88597495b515d570199824abc65e145
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bea0face486cf8908eca45ced779d0bfa0b86a75
Log:
reduce the struct size by 8 bytes on 64 bit
Changed paths:
M main/streams/php_stream_transport.h
Diff:
diff --git a/main/streams/php_stream_transport.h b/main/streams/php_stream_transport.h
index 8e02f46..50beb89 100644
--- a/main/streams/php_stream_transport.h
+++ b/main/streams/php_stream_transport.h
@@ -191,18 +191,18 @@ PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate
TSRML
END_EXTERN_C()
typedef struct _php_stream_xport_crypto_param {
- enum {
- STREAM_XPORT_CRYPTO_OP_SETUP,
- STREAM_XPORT_CRYPTO_OP_ENABLE
- } op;
struct {
+ php_stream *session;
int activate;
php_stream_xport_crypt_method_t method;
- php_stream *session;
} inputs;
struct {
int returncode;
} outputs;
+ enum {
+ STREAM_XPORT_CRYPTO_OP_SETUP,
+ STREAM_XPORT_CRYPTO_OP_ENABLE
+ } op;
} php_stream_xport_crypto_param;
BEGIN_EXTERN_C()