mirror of
https://github.com/postgres/postgres.git
synced 2026-06-10 17:20:31 -04:00
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.)
This commit is contained in:
parent
220b34331f
commit
10a3b165a3
11 changed files with 3 additions and 10 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue