
From: Martin Waitz <tali@admingilde.org>

With the custom stylesheet, functions are rendered using ANSI-C syntax and
xmlto is a bit quieter.

Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/Documentation/DocBook/Makefile       |    3 ++-
 25-akpm/Documentation/DocBook/stylesheet.xsl |    5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff -puN Documentation/DocBook/Makefile~docbook-use-custom-stylesheet Documentation/DocBook/Makefile
--- 25/Documentation/DocBook/Makefile~docbook-use-custom-stylesheet	Mon Apr 11 14:57:31 2005
+++ 25-akpm/Documentation/DocBook/Makefile	Mon Apr 11 14:58:13 2005
@@ -49,7 +49,8 @@ installmandocs: mandocs
 KERNELDOC = scripts/kernel-doc
 DOCPROC   = scripts/basic/docproc
 
-#XMLTOFLAGS = --skip-validation
+XMLTOFLAGS = -m Documentation/DocBook/stylesheet.xsl
+#XMLTOFLAGS += --skip-validation
 
 ###
 # DOCPROC is used for two purposes:
diff -puN /dev/null Documentation/DocBook/stylesheet.xsl
--- /dev/null	Thu Apr 11 07:25:15 2002
+++ 25-akpm/Documentation/DocBook/stylesheet.xsl	Mon Apr 11 14:57:31 2005
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<param name="chunk.quietly">1</param>
+<param name="funcsynopsis.style">ansi</param>
+</stylesheet>
_
