Adjust blank lines around PG_MODULE_MAGIC defines, for consistency

Report by Robert Haas
This commit is contained in:
Bruce Momjian 2014-07-10 14:02:08 -04:00
parent 5b214c5dd1
commit 6a605cd6bd
24 changed files with 3 additions and 27 deletions

View File

@ -17,7 +17,6 @@
PG_MODULE_MAGIC;
typedef struct
{
int maxlen;

View File

@ -10,7 +10,6 @@
#define M_PI 3.14159265358979323846
#endif
PG_MODULE_MAGIC;
/* Earth's radius is in statute miles. */

View File

@ -6,7 +6,6 @@
#include "_int.h"
PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(_int_different);

View File

@ -12,7 +12,6 @@
#include "libpq/be-fsstubs.h"
#include "utils/rel.h"
PG_MODULE_MAGIC;
#define atooid(x) ((Oid) strtoul((x), NULL, 10))

View File

@ -24,7 +24,6 @@
#include "fmgr.h"
#include "libpq/md5.h"
PG_MODULE_MAGIC;
/* passwords shorter than this will be rejected */

View File

@ -19,7 +19,6 @@
PG_MODULE_MAGIC;
/*
* Record structure holding the to be exposed cache data.
*/

View File

@ -11,7 +11,6 @@
#include "funcapi.h"
#include "storage/freespace.h"
PG_MODULE_MAGIC;
/*

View File

@ -76,7 +76,6 @@
#include "utils/builtins.h"
#include "utils/memutils.h"
PG_MODULE_MAGIC;
/* Location of permanent stats file (valid when database is shut down) */

View File

@ -11,7 +11,6 @@
#include "tsearch/ts_locale.h"
#include "utils/memutils.h"
PG_MODULE_MAGIC;
float4 trgm_limit = 0.3f;

View File

@ -38,7 +38,6 @@
#include "utils/snapmgr.h"
#include "utils/tqual.h"
PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(pgrowlocks);

View File

@ -36,7 +36,6 @@
#include "utils/builtins.h"
#include "utils/tqual.h"
PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(pgstattuple);

View File

@ -37,7 +37,6 @@
#include "utils/lsyscache.h"
#include "utils/memutils.h"
PG_MODULE_MAGIC;
/* Default CPU cost to start up a foreign query. */

View File

@ -18,10 +18,8 @@
#include <openssl/x509.h>
#include <openssl/asn1.h>
PG_MODULE_MAGIC;
static Datum X509_NAME_field_to_text(X509_NAME *name, text *fieldName);
static Datum X509_NAME_to_text(X509_NAME *name);
static Datum ASN1_STRING_to_text(ASN1_STRING *str);

View File

@ -23,10 +23,8 @@
#include "utils/rel.h"
#include "utils/syscache.h"
PG_MODULE_MAGIC;
/*
* Copy from s (for source) to r (for result), wrapping with q (quote)
* characters and doubling any quote characters found.

View File

@ -30,7 +30,6 @@
#include "utils/syscache.h"
#include "utils/typcache.h"
PG_MODULE_MAGIC;
/* These must be available to pg_dlsym() */

View File

@ -16,7 +16,6 @@
PG_MODULE_MAGIC;
/*
* types
*/

View File

@ -18,7 +18,9 @@
#include "test_shm_mq.h"
PG_MODULE_MAGIC; PG_FUNCTION_INFO_V1(test_shm_mq);
PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(test_shm_mq);
PG_FUNCTION_INFO_V1(test_shm_mq_pipelined);
void _PG_init(void);

View File

@ -108,10 +108,8 @@ do { \
#endif /* !HAVE_UUID_OSSP */
PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(uuid_nil);
PG_FUNCTION_INFO_V1(uuid_ns_dns);
PG_FUNCTION_INFO_V1(uuid_ns_url);

View File

@ -23,7 +23,6 @@
#include <libxml/xmlerror.h>
#include <libxml/parserInternals.h>
PG_MODULE_MAGIC;
/* exported for use by xslt_proc.c */

View File

@ -58,7 +58,6 @@
#include "snowball/libstemmer/stem_UTF_8_swedish.h"
#include "snowball/libstemmer/stem_UTF_8_turkish.h"
PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(dsnowball_init);

View File

@ -60,7 +60,6 @@ EXTERN_C void boot_PostgreSQL__InServer__SPI(pTHX_ CV *cv);
PG_MODULE_MAGIC;
/**********************************************************************
* Information associated with a Perl interpreter. We have one interpreter
* that is used for all plperlu (untrusted) functions. For plperl (trusted)

View File

@ -12,7 +12,6 @@
#include "fmgr.h"
#include "libpq/pqformat.h" /* needed for send/recv functions */
PG_MODULE_MAGIC;
typedef struct Complex

View File

@ -18,7 +18,6 @@
PG_MODULE_MAGIC;
/* These prototypes just prevent possible warnings from gcc. */
int add_one(int arg);

View File

@ -16,7 +16,6 @@
#include "executor/executor.h" /* for GetAttributeByName() */
#include "utils/geo_decls.h" /* for point type */
PG_MODULE_MAGIC;
/* These prototypes just prevent possible warnings from gcc. */