aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-09-11 15:30:32 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-09-11 15:30:32 +0000
commit7ce2ff2d22aba9442347e94dd62fe2212d0adb27 (patch)
tree41c79493c5f097b73cdf9d75bfd53db648d13fbe
parent41dcc65c0eca6fb2b7574d97238651c2092ed327 (diff)
downloadpostgresql-7ce2ff2d22aba9442347e94dd62fe2212d0adb27.tar.gz
postgresql-7ce2ff2d22aba9442347e94dd62fe2212d0adb27.zip
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 5ced182d3c4..01f1976ab61 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 404aa2a7907..433030ead96 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);