pgcrypto: Make header files stand alone

Enterprise / PostgreSQL - Peter Eisentraut [gmx.net] - 9 January 2014 05:44 UTC

pgp.h used to require including mbuf.h and px.h first. Include those in pgp.h, so that it can be used without prerequisites. Remove mbuf.h inclusions in .c files where mbuf.h features are not used directly. (px.h was always used.)

10a3b16 pgcrypto: Make header files stand alone
contrib/pgcrypto/pgp-armor.c | 1 -
contrib/pgcrypto/pgp-cfb.c | 1 -
contrib/pgcrypto/pgp-compress.c | 1 -
contrib/pgcrypto/pgp-mpi-internal.c | 1 -
contrib/pgcrypto/pgp-mpi-openssl.c | 1 -
contrib/pgcrypto/pgp-mpi.c | 1 -
contrib/pgcrypto/pgp-pubdec.c | 1 -
contrib/pgcrypto/pgp-pubenc.c | 1 -
contrib/pgcrypto/pgp-s2k.c | 1 -
contrib/pgcrypto/pgp.c | 1 -
contrib/pgcrypto/pgp.h | 3 +++
11 files changed, 3 insertions(+), 10 deletions(-)

Upstream: git.postgresql.org


  • Share