summaryrefslogtreecommitdiff
path: root/xcb
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2005-05-17 20:10:04 +0000
committerJosh Triplett <josh@freedesktop.org>2005-05-17 20:10:04 +0000
commit99d84d8a15c45a680540ca867f362c83dabc7f0a (patch)
tree705765904d98bb9913b457d1e753ded847e54f3e /xcb
parent62c48a2bb28e3e9585b9ccfa3e78fe6d6f3fe7c6 (diff)
Make header files self-sufficient.
Diffstat (limited to 'xcb')
-rw-r--r--xcb/ChangeLog9
-rw-r--r--xcb/debian/changelog7
-rw-r--r--xcb/src/c-client.xsl2
-rw-r--r--xcb/src/xcbext.h2
4 files changed, 17 insertions, 3 deletions
diff --git a/xcb/ChangeLog b/xcb/ChangeLog
index 774ae75..93bfc5d 100644
--- a/xcb/ChangeLog
+++ b/xcb/ChangeLog
@@ -1,6 +1,15 @@
2005-05-17 Josh Triplett <josh@freedesktop.org>
* src/c-client.xsl:
+ Make header files self-sufficient, by including xcb.h in the
+ generated headers rather than the generated sources.
+
+ * src/xcbext.h:
+ Make xcbext.h self-sufficient, by including xcb.h.
+
+2005-05-17 Josh Triplett <josh@freedesktop.org>
+
+ * src/c-client.xsl:
Line up function parameters with opening parenthesis.
2005-05-17 Jamey Sharp <jamey@minilop.net>
diff --git a/xcb/debian/changelog b/xcb/debian/changelog
index 65e0bd5..148dd94 100644
--- a/xcb/debian/changelog
+++ b/xcb/debian/changelog
@@ -1,4 +1,4 @@
-libxcb0 (0.9-1pre2v3) unstable; urgency=low
+libxcb0 (0.9-1pre2v4) unstable; urgency=low
pre2v1:
* Split into libxcb0 and libxcb0-dev.
@@ -21,7 +21,10 @@ libxcb0 (0.9-1pre2v3) unstable; urgency=low
pre2v3:
* New upstream snapshot.
- -- Josh Triplett <josh@freedesktop.org> Sat, 7 May 2005 02:11:13 -0700
+ pre2v4:
+ * New upstream snapshot.
+
+ -- Josh Triplett <josh@freedesktop.org> Tue, 17 May 2005 12:53:53 -0700
fd.o-xcb (0.9-1) unstable; urgency=low
diff --git a/xcb/src/c-client.xsl b/xcb/src/c-client.xsl
index bce86cf..799d13e 100644
--- a/xcb/src/c-client.xsl
+++ b/xcb/src/c-client.xsl
@@ -861,6 +861,7 @@ authorization from the authors.
#ifndef </xsl:text><xsl:value-of select="$guard" /><xsl:text>
#define </xsl:text><xsl:value-of select="$guard" /><xsl:text>
</xsl:text>
+#include "xcb.h"
<xsl:for-each select="$root/xcb/import">
<xsl:text>#include "</xsl:text><xsl:value-of select="." /><xsl:text>.h"
</xsl:text>
@@ -871,7 +872,6 @@ authorization from the authors.
<xsl:if test="$c"><xsl:text>
#include &lt;assert.h&gt;
-#include "xcb.h"
#include "xcbext.h"
#include "</xsl:text><xsl:value-of select="$header" /><xsl:text>.h"
diff --git a/xcb/src/xcbext.h b/xcb/src/xcbext.h
index fb89fd5..c8f532c 100644
--- a/xcb/src/xcbext.h
+++ b/xcb/src/xcbext.h
@@ -28,6 +28,8 @@
#ifndef __XCBEXT_H
#define __XCBEXT_H
+#include "xcb.h"
+
#ifdef __cplusplus
extern "C" {
#endif