]> granicus.if.org Git - php/commitdiff
reduce the struct size by 8 bytes on 64 bit
authorAnatol Belski <ab@php.net>
Fri, 12 Sep 2014 21:10:56 +0000 (23:10 +0200)
committerAnatol Belski <ab@php.net>
Fri, 12 Sep 2014 21:10:56 +0000 (23:10 +0200)
main/streams/php_stream_transport.h

index 8e02f46ca159b94180266c95e1c21dc87596f4b8..50beb89551f9b4273917bd33892353baa48b5037 100644 (file)
@@ -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()