winsup/doc: Generate ANSI rather than K&R style function prototypes
Since K&R style prototypes appear to be the default for HTML and FO, customize the stylesheets rendering of funcsynopsis elements to generate ANSI style prototypes instead. 2015-06-17 Jon Turney <jon.turney@dronecode.org.uk> * fo.xsl: Render funcsynopsis elements as ANSI style function prototypes. * html.xsl: Ditto. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
This commit is contained in:
		
							parent
							
								
									73afd1315c
								
							
						
					
					
						commit
						a197d1d504
					
				| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
2015-06-17  Jon Turney  <jon.turney@dronecode.org.uk>
 | 
			
		||||
 | 
			
		||||
	* fo.xsl: Render funcsynopsis elements as ANSI style function
 | 
			
		||||
	prototypes.
 | 
			
		||||
	* html.xsl: Ditto.
 | 
			
		||||
 | 
			
		||||
2015-06-17  Jon Turney  <jon.turney@dronecode.org.uk>
 | 
			
		||||
 | 
			
		||||
	* html.xsl: Renamed from cygwin.xsl.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -65,4 +65,7 @@
 | 
			
		|||
  </xsl:if>
 | 
			
		||||
</xsl:template>
 | 
			
		||||
 | 
			
		||||
	<!-- generate ansi rather than k&r style function synopses -->
 | 
			
		||||
	<xsl:param name="funcsynopsis.style" select="ansi" />
 | 
			
		||||
 | 
			
		||||
</xsl:stylesheet>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,4 +23,7 @@
 | 
			
		|||
<!-- suppress refentry in toc being annotated with refpurpose -->
 | 
			
		||||
<xsl:param name="annotate.toc" select="0" />
 | 
			
		||||
 | 
			
		||||
<!-- generate ansi rather than k&r style function synopses -->
 | 
			
		||||
<xsl:param name="funcsynopsis.style" select="ansi" />
 | 
			
		||||
 | 
			
		||||
</xsl:stylesheet>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue