Fix Doxygen warnings.
authorJamey Sharp <jamey@minilop.net>
Sun, 19 Nov 2006 05:30:12 +0000 (21:30 -0800)
committerJamey Sharp <jamey@minilop.net>
Sun, 19 Nov 2006 06:35:53 +0000 (22:35 -0800)
Specifically, fixes these two warnings which were emitted for every
generated source file:

* Warning: end of file while inside a group
* Warning: group XCB_BigRequests_API already documented. Skipping documentation.

src/c-client.xsl

index 31b6de5..d5d2b35 100644 (file)
@@ -973,11 +973,13 @@ authorization from the authors.
       -->__<xsl:value-of select="$ucase-header" />_H<!--
     --></xsl:variable>
 
-<xsl:text>/**
- * @file </xsl:text><xsl:value-of select="$header" /><xsl:text>.h
- **/
+<xsl:text>/*
+ * This file generated automatically from </xsl:text>
+<xsl:value-of select="$header" /><xsl:text>.xml by c-client.xsl using XSLT.
+ * Edit at your peril.
+ */
 </xsl:text>
-<xsl:text>
+<xsl:if test="$h"><xsl:text>
 /**
  * @defgroup XCB_</xsl:text><xsl:value-of select="$ext" /><xsl:text>_API XCB </xsl:text><xsl:value-of select="$ext" /><xsl:text> API
  * @brief </xsl:text><xsl:value-of select="$ext" /><xsl:text> XCB Protocol Implementation.</xsl:text>
@@ -985,14 +987,8 @@ authorization from the authors.
  * @{
  **/
 </xsl:text>
-<xsl:text>/*
- * This file generated automatically from </xsl:text>
-<xsl:value-of select="$header" /><xsl:text>.xml by c-client.xsl using XSLT.
- * Edit at your peril.
- */
-</xsl:text>
 
-<xsl:if test="$h"><xsl:text>
+<xsl:text>
 #ifndef </xsl:text><xsl:value-of select="$guard" /><xsl:text>
 #define </xsl:text><xsl:value-of select="$guard" /><xsl:text>
 </xsl:text>
@@ -1028,10 +1024,11 @@ authorization from the authors.
 
 <xsl:if test="$h">
 <xsl:text>
+#endif
+
 /**
  * @}
  */
-#endif
 </xsl:text>
 </xsl:if>
   </xsl:template>