pgsql: Make some use of anonymous unions [pgcrypto] - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Make some use of anonymous unions [pgcrypto]
Date
Msg-id E1v3XjV-000lYc-2R@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Make some use of anonymous unions [pgcrypto]
List pgsql-committers
Make some use of anonymous unions [pgcrypto]

Make some use of anonymous unions, which are allowed as of C11, as
examples and encouragement for future code, and to test compilers.

This commit changes some structures in pgcrypto.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f00a9968-388e-4f8c-b5ef-5102e962d997%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/efcd5199d8cb8e5098f79b38d0c46004e69d1a46

Modified Files
--------------
contrib/pgcrypto/openssl.c | 14 +++++++-------
contrib/pgcrypto/px.h      |  2 +-
src/common/cryptohash.c    | 36 ++++++++++++++++++------------------
3 files changed, 26 insertions(+), 26 deletions(-)


pgsql-committers by date:

Previous
From: Álvaro Herrera
Date:
Subject: pgsql: Do a tiny bit of header file maintenance
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Revert "Make some use of anonymous unions [pgcrypto]"