summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2006-09-11 15:30:32 +0000
committerTom Lane2006-09-11 15:30:32 +0000
commita271fe16d5e8cfe5e8f7a57715696995df3ff57d (patch)
tree71a5284fb7b4935cf36fa3ca0d819e98881cc159
parentc0602e97122b81d69d2f92d8b65b1513527a5c6a (diff)
Move xml2's PG_MODULE_MAGIC block to the right source file, per Michael Fuhr.
-rw-r--r--contrib/xml2/xpath.c3
-rw-r--r--contrib/xml2/xslt_proc.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/xml2/xpath.c b/contrib/xml2/xpath.c
index 5ced182d3c..01f1976ab6 100644
--- a/contrib/xml2/xpath.c
+++ b/contrib/xml2/xpath.c
@@ -16,6 +16,9 @@
#include <libxml/xmlerror.h>
#include <libxml/parserInternals.h>
+
+PG_MODULE_MAGIC;
+
/* declarations */
static void *pgxml_palloc(size_t size);
diff --git a/contrib/xml2/xslt_proc.c b/contrib/xml2/xslt_proc.c
index 404aa2a790..433030ead9 100644
--- a/contrib/xml2/xslt_proc.c
+++ b/contrib/xml2/xslt_proc.c
@@ -21,8 +21,6 @@
#include <libxslt/xsltutils.h>
-PG_MODULE_MAGIC;
-
/* declarations to come from xpath.c */
extern void elog_error(int level, char *explain, int force);