Commit 10a3b165 authored by Peter Eisentraut's avatar Peter Eisentraut

pgcrypto: Make header files stand alone

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.)
parent 220b3433
......@@ -32,7 +32,6 @@
#include "postgres.h"
#include "px.h"
#include "mbuf.h"
#include "pgp.h"
/*
......
......@@ -31,7 +31,6 @@
#include "postgres.h"
#include "mbuf.h"
#include "px.h"
#include "pgp.h"
......
......@@ -31,7 +31,6 @@
#include "postgres.h"
#include "mbuf.h"
#include "px.h"
#include "pgp.h"
......
......@@ -33,7 +33,6 @@
#include "imath.h"
#include "px.h"
#include "mbuf.h"
#include "pgp.h"
static mpz_t *
......
......@@ -33,7 +33,6 @@
#include <openssl/bn.h>
#include "px.h"
#include "mbuf.h"
#include "pgp.h"
static BIGNUM *
......
......@@ -31,7 +31,6 @@
#include "postgres.h"
#include "px.h"
#include "mbuf.h"
#include "pgp.h"
int
......
......@@ -31,7 +31,6 @@
#include "postgres.h"
#include "px.h"
#include "mbuf.h"
#include "pgp.h"
/*
......
......@@ -31,7 +31,6 @@
#include "postgres.h"
#include "px.h"
#include "mbuf.h"
#include "pgp.h"
/*
......
......@@ -32,7 +32,6 @@
#include "postgres.h"
#include "px.h"
#include "mbuf.h"
#include "pgp.h"
static int
......
......@@ -32,7 +32,6 @@
#include "postgres.h"
#include "px.h"
#include "mbuf.h"
#include "pgp.h"
/*
......
......@@ -29,6 +29,9 @@
* contrib/pgcrypto/pgp.h
*/
#include "mbuf.h"
#include "px.h"
enum PGP_S2K_TYPE
{
PGP_S2K_SIMPLE = 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment