Skip to content

Commit 7ce2ff2

Browse files
committed
Move xml2's PG_MODULE_MAGIC block to the right source file, per Michael Fuhr.
1 parent 41dcc65 commit 7ce2ff2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

contrib/xml2/xpath.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#include <libxml/xmlerror.h>
1717
#include <libxml/parserInternals.h>
1818

19+
20+
PG_MODULE_MAGIC;
21+
1922
/* declarations */
2023

2124
static void *pgxml_palloc(size_t size);

contrib/xml2/xslt_proc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
#include <libxslt/xsltutils.h>
2222

2323

24-
PG_MODULE_MAGIC;
25-
2624
/* declarations to come from xpath.c */
2725

2826
extern void elog_error(int level, char *explain, int force);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy