aboutsummaryrefslogtreecommitdiff
path: root/libxsde
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-06-02 13:49:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-06-02 13:49:00 +0200
commit186a1c6a1c3061baf34086b3846c5fbda71ecc97 (patch)
treeeac208334557c85c97f2efabfef75549bf154a73 /libxsde
parent2c97d4f6222c435719bab7f3d290321a77b4877b (diff)
Include pre/post header in C source files
Diffstat (limited to 'libxsde')
-rw-r--r--libxsde/xsde/c/expat/xmlparse.c4
-rw-r--r--libxsde/xsde/c/expat/xmlrole.c4
-rw-r--r--libxsde/xsde/c/expat/xmltok.c4
-rw-r--r--libxsde/xsde/c/genx/char-props.c4
-rw-r--r--libxsde/xsde/c/genx/genx.c4
5 files changed, 20 insertions, 0 deletions
diff --git a/libxsde/xsde/c/expat/xmlparse.c b/libxsde/xsde/c/expat/xmlparse.c
index 19fa39a..51766e8 100644
--- a/libxsde/xsde/c/expat/xmlparse.c
+++ b/libxsde/xsde/c/expat/xmlparse.c
@@ -2,6 +2,8 @@
See the file COPYING for copying permission.
*/
+#include <xsde/c/pre.h>
+
#include <stddef.h>
#include <string.h> /* memset(), memcpy() */
#include <assert.h>
@@ -6273,3 +6275,5 @@ getElementType(XML_Parser parser,
}
return ret;
}
+
+#include <xsde/c/post.h>
diff --git a/libxsde/xsde/c/expat/xmlrole.c b/libxsde/xsde/c/expat/xmlrole.c
index f1bc407..cbf0f76 100644
--- a/libxsde/xsde/c/expat/xmlrole.c
+++ b/libxsde/xsde/c/expat/xmlrole.c
@@ -2,6 +2,8 @@
See the file COPYING for copying permission.
*/
+#include <xsde/c/pre.h>
+
#include <stddef.h>
#include "config.h"
@@ -1464,3 +1466,5 @@ XmlPrologStateInitExternalEntity(PROLOG_STATE *state)
}
#endif /* XML_DTD */
+
+#include <xsde/c/post.h>
diff --git a/libxsde/xsde/c/expat/xmltok.c b/libxsde/xsde/c/expat/xmltok.c
index 77ab2e9..12b913a 100644
--- a/libxsde/xsde/c/expat/xmltok.c
+++ b/libxsde/xsde/c/expat/xmltok.c
@@ -2,6 +2,8 @@
See the file COPYING for copying permission.
*/
+#include <xsde/c/pre.h>
+
#include <stddef.h>
#include "config.h"
@@ -1669,3 +1671,5 @@ XmlInitUnknownEncodingNS(void *mem,
}
#endif /* XML_NS */
+
+#include <xsde/c/post.h>
diff --git a/libxsde/xsde/c/genx/char-props.c b/libxsde/xsde/c/genx/char-props.c
index 123f4d5..34865ca 100644
--- a/libxsde/xsde/c/genx/char-props.c
+++ b/libxsde/xsde/c/genx/char-props.c
@@ -11,6 +11,8 @@
* This version is generated semi-automatically from the source code of the
* XML specification via emacs global replace and keyboard macros
*/
+#include <xsde/c/pre.h>
+
#include "genx.h"
static void charProp(char * p, int c, int prop)
@@ -392,3 +394,5 @@ void genxSetCharProps(char * p)
#endif // GENX_CHAR_TABLE_SIZE == 0x10000
}
+
+#include <xsde/c/post.h>
diff --git a/libxsde/xsde/c/genx/genx.c b/libxsde/xsde/c/genx/genx.c
index bf998b3..cd3cf54 100644
--- a/libxsde/xsde/c/genx/genx.c
+++ b/libxsde/xsde/c/genx/genx.c
@@ -5,6 +5,8 @@
* For copying permission, see the accompanying COPYING file.
*/
+#include <xsde/c/pre.h>
+
#define GENX_VERSION "cs-1"
#include <stdlib.h>
@@ -2220,3 +2222,5 @@ char * genxGetVersion()
{
return GENX_VERSION;
}
+
+#include <xsde/c/post.h>