summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2014-07-10 18:02:08 +0000
committerBruce Momjian2014-07-10 18:02:08 +0000
commit6a605cd6bd9f689b35676623add0de9b90978bf1 (patch)
treea7876f3ecd6b6c56ffffd68fbaf60d69117dfaf7
parent5b214c5dd1de37764797b3fb9164af3c885a7b86 (diff)
Adjust blank lines around PG_MODULE_MAGIC defines, for consistency
Report by Robert Haas
-rw-r--r--contrib/dict_int/dict_int.c1
-rw-r--r--contrib/earthdistance/earthdistance.c1
-rw-r--r--contrib/intarray/_int_op.c1
-rw-r--r--contrib/lo/lo.c1
-rw-r--r--contrib/passwordcheck/passwordcheck.c1
-rw-r--r--contrib/pg_buffercache/pg_buffercache_pages.c1
-rw-r--r--contrib/pg_freespacemap/pg_freespacemap.c1
-rw-r--r--contrib/pg_stat_statements/pg_stat_statements.c1
-rw-r--r--contrib/pg_trgm/trgm_op.c1
-rw-r--r--contrib/pgrowlocks/pgrowlocks.c1
-rw-r--r--contrib/pgstattuple/pgstattuple.c1
-rw-r--r--contrib/postgres_fdw/postgres_fdw.c1
-rw-r--r--contrib/sslinfo/sslinfo.c2
-rw-r--r--contrib/tcn/tcn.c2
-rw-r--r--contrib/test_decoding/test_decoding.c1
-rw-r--r--contrib/test_parser/test_parser.c1
-rw-r--r--contrib/test_shm_mq/test.c4
-rw-r--r--contrib/uuid-ossp/uuid-ossp.c2
-rw-r--r--contrib/xml2/xpath.c1
-rw-r--r--src/backend/snowball/dict_snowball.c1
-rw-r--r--src/pl/plperl/plperl.c1
-rw-r--r--src/tutorial/complex.c1
-rw-r--r--src/tutorial/funcs.c1
-rw-r--r--src/tutorial/funcs_new.c1
24 files changed, 3 insertions, 27 deletions
diff --git a/contrib/dict_int/dict_int.c b/contrib/dict_int/dict_int.c
index 79067a86f08..be24aa7b22d 100644
--- a/contrib/dict_int/dict_int.c
+++ b/contrib/dict_int/dict_int.c
@@ -17,7 +17,6 @@
PG_MODULE_MAGIC;
-
typedef struct
{
int maxlen;
diff --git a/contrib/earthdistance/earthdistance.c b/contrib/earthdistance/earthdistance.c
index 6bbebdfd1a3..861b1663739 100644
--- a/contrib/earthdistance/earthdistance.c
+++ b/contrib/earthdistance/earthdistance.c
@@ -10,7 +10,6 @@
#define M_PI 3.14159265358979323846
#endif
-
PG_MODULE_MAGIC;
/* Earth's radius is in statute miles. */
diff --git a/contrib/intarray/_int_op.c b/contrib/intarray/_int_op.c
index 70849be57f4..537174175b2 100644
--- a/contrib/intarray/_int_op.c
+++ b/contrib/intarray/_int_op.c
@@ -6,7 +6,6 @@
#include "_int.h"
-
PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(_int_different);
diff --git a/contrib/lo/lo.c b/contrib/lo/lo.c
index 4dee64724d6..953659305fb 100644
--- a/contrib/lo/lo.c
+++ b/contrib/lo/lo.c
@@ -12,7 +12,6 @@
#include "libpq/be-fsstubs.h"
#include "utils/rel.h"
-
PG_MODULE_MAGIC;
#define atooid(x) ((Oid) strtoul((x), NULL, 10))
diff --git a/contrib/passwordcheck/passwordcheck.c b/contrib/passwordcheck/passwordcheck.c
index 405896d40a9..e4ad3a3892d 100644
--- a/contrib/passwordcheck/passwordcheck.c
+++ b/contrib/passwordcheck/passwordcheck.c
@@ -24,7 +24,6 @@
#include "fmgr.h"
#include "libpq/md5.h"
-
PG_MODULE_MAGIC;
/* passwords shorter than this will be rejected */
diff --git a/contrib/pg_buffercache/pg_buffercache_pages.c b/contrib/pg_buffercache/pg_buffercache_pages.c
index f39fe255db6..b205683bffc 100644
--- a/contrib/pg_buffercache/pg_buffercache_pages.c
+++ b/contrib/pg_buffercache/pg_buffercache_pages.c
@@ -19,7 +19,6 @@
PG_MODULE_MAGIC;
-
/*
* Record structure holding the to be exposed cache data.
*/
diff --git a/contrib/pg_freespacemap/pg_freespacemap.c b/contrib/pg_freespacemap/pg_freespacemap.c
index 7805345add1..7d939a7d207 100644
--- a/contrib/pg_freespacemap/pg_freespacemap.c
+++ b/contrib/pg_freespacemap/pg_freespacemap.c
@@ -11,7 +11,6 @@
#include "funcapi.h"
#include "storage/freespace.h"
-
PG_MODULE_MAGIC;
/*
diff --git a/contrib/pg_stat_statements/pg_stat_statements.c b/contrib/pg_stat_statements/pg_stat_statements.c
index 7c2216a7eed..6beced0e7d9 100644
--- a/contrib/pg_stat_statements/pg_stat_statements.c
+++ b/contrib/pg_stat_statements/pg_stat_statements.c
@@ -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) */
diff --git a/contrib/pg_trgm/trgm_op.c b/contrib/pg_trgm/trgm_op.c
index c385e09edda..df15b52b4a1 100644
--- a/contrib/pg_trgm/trgm_op.c
+++ b/contrib/pg_trgm/trgm_op.c
@@ -11,7 +11,6 @@
#include "tsearch/ts_locale.h"
#include "utils/memutils.h"
-
PG_MODULE_MAGIC;
float4 trgm_limit = 0.3f;
diff --git a/contrib/pgrowlocks/pgrowlocks.c b/contrib/pgrowlocks/pgrowlocks.c
index 15d97047525..7b8c9fbb326 100644
--- a/contrib/pgrowlocks/pgrowlocks.c
+++ b/contrib/pgrowlocks/pgrowlocks.c
@@ -38,7 +38,6 @@
#include "utils/snapmgr.h"
#include "utils/tqual.h"
-
PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(pgrowlocks);
diff --git a/contrib/pgstattuple/pgstattuple.c b/contrib/pgstattuple/pgstattuple.c
index 10077483d35..c3a8b1d424a 100644
--- a/contrib/pgstattuple/pgstattuple.c
+++ b/contrib/pgstattuple/pgstattuple.c
@@ -36,7 +36,6 @@
#include "utils/builtins.h"
#include "utils/tqual.h"
-
PG_MODULE_MAGIC;
PG_FUNCTION_INFO_V1(pgstattuple);
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c
index 7dd43a99379..56374905f5b 100644
--- a/contrib/postgres_fdw/postgres_fdw.c
+++ b/contrib/postgres_fdw/postgres_fdw.c
@@ -37,7 +37,6 @@
#include "utils/lsyscache.h"
#include "utils/memutils.h"
-
PG_MODULE_MAGIC;
/* Default CPU cost to start up a foreign query. */
diff --git a/contrib/sslinfo/sslinfo.c b/contrib/sslinfo/sslinfo.c
index db491a4bc80..641c3f0c845 100644
--- a/contrib/sslinfo/sslinfo.c
+++ b/contrib/sslinfo/sslinfo.c
@@ -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);
diff --git a/contrib/tcn/tcn.c b/contrib/tcn/tcn.c
index ba34f9b1fad..7ad2898308f 100644
--- a/contrib/tcn/tcn.c
+++ b/contrib/tcn/tcn.c
@@ -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.
diff --git a/contrib/test_decoding/test_decoding.c b/contrib/test_decoding/test_decoding.c
index 5ce052b5c61..6edc5fcd47a 100644
--- a/contrib/test_decoding/test_decoding.c
+++ b/contrib/test_decoding/test_decoding.c
@@ -30,7 +30,6 @@
#include "utils/syscache.h"
#include "utils/typcache.h"
-
PG_MODULE_MAGIC;
/* These must be available to pg_dlsym() */
diff --git a/contrib/test_parser/test_parser.c b/contrib/test_parser/test_parser.c
index c41d1eb201c..cbf77966ae5 100644
--- a/contrib/test_parser/test_parser.c
+++ b/contrib/test_parser/test_parser.c
@@ -16,7 +16,6 @@
PG_MODULE_MAGIC;
-
/*
* types
*/
diff --git a/contrib/test_shm_mq/test.c b/contrib/test_shm_mq/test.c
index 8750bae8dbf..95d620f7569 100644
--- a/contrib/test_shm_mq/test.c
+++ b/contrib/test_shm_mq/test.c
@@ -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);
diff --git a/contrib/uuid-ossp/uuid-ossp.c b/contrib/uuid-ossp/uuid-ossp.c
index 9e9905bfdef..db0c6a97aa3 100644
--- a/contrib/uuid-ossp/uuid-ossp.c
+++ b/contrib/uuid-ossp/uuid-ossp.c
@@ -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);
diff --git a/contrib/xml2/xpath.c b/contrib/xml2/xpath.c
index a8b159ebff7..f57b81302f3 100644
--- a/contrib/xml2/xpath.c
+++ b/contrib/xml2/xpath.c
@@ -23,7 +23,6 @@
#include <libxml/xmlerror.h>
#include <libxml/parserInternals.h>
-
PG_MODULE_MAGIC;
/* exported for use by xslt_proc.c */
diff --git a/src/backend/snowball/dict_snowball.c b/src/backend/snowball/dict_snowball.c
index 37d2966359f..545c98c9c62 100644
--- a/src/backend/snowball/dict_snowball.c
+++ b/src/backend/snowball/dict_snowball.c
@@ -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);
diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c
index d57189fe1e4..1d025d46533 100644
--- a/src/pl/plperl/plperl.c
+++ b/src/pl/plperl/plperl.c
@@ -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)
diff --git a/src/tutorial/complex.c b/src/tutorial/complex.c
index 922784004ea..a263110cd2d 100644
--- a/src/tutorial/complex.c
+++ b/src/tutorial/complex.c
@@ -12,7 +12,6 @@
#include "fmgr.h"
#include "libpq/pqformat.h" /* needed for send/recv functions */
-
PG_MODULE_MAGIC;
typedef struct Complex
diff --git a/src/tutorial/funcs.c b/src/tutorial/funcs.c
index e5812758566..61ad1417a86 100644
--- a/src/tutorial/funcs.c
+++ b/src/tutorial/funcs.c
@@ -18,7 +18,6 @@
PG_MODULE_MAGIC;
-
/* These prototypes just prevent possible warnings from gcc. */
int add_one(int arg);
diff --git a/src/tutorial/funcs_new.c b/src/tutorial/funcs_new.c
index c8ef458226b..abe409b8591 100644
--- a/src/tutorial/funcs_new.c
+++ b/src/tutorial/funcs_new.c
@@ -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. */