mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03: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:
@ -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,
|
||||
|
Reference in New Issue
Block a user