[PATCH] DocBook: fix <void/> xml tag
Martin Waitz [Sun, 1 May 2005 15:59:25 +0000 (08:59 -0700)]
This fix is needed to create valid XML.

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

scripts/kernel-doc

index 3cc3330..bc5ef02 100755 (executable)
@@ -607,7 +607,7 @@ sub output_function_xml(%) {
            }
        }
     } else {
-       print "  <void>\n";
+       print "  <void/>\n";
     }
     print "  </funcprototype></funcsynopsis>\n";
     print "</refsynopsisdiv>\n";