]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: <pre> cannot be nested in <p>
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 13 Mar 2010 14:04:34 +0000 (15:04 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 17 Mar 2010 21:37:45 +0000 (22:37 +0100)
xsltproc complained about this.

docs/hacking.html.in

index f5ec6352aa3346601893b50627e187dfcadce5cf..03a1bee17dfff234b846c1f04743744a615ae51e 100644 (file)
 
     <p>
       For variadic macros, stick with C99 syntax:
+    </p>
   <pre>
   #define vshPrint(_ctl, ...) fprintf(stdout, __VA_ARGS__)
   </pre>
-    </p>
 
     <p>Use parenthesis when checking if a macro is defined, and use
     indentation to track nesting:
-
+    </p>
   <pre>
   #if defined(HAVE_POSIX_FALLOCATE) &amp;&amp; !defined(HAVE_FALLOCATE)
   # define fallocate(a,ignored,b,c) posix_fallocate(a,b,c)
   #endif
   </pre>
-    </p>
 
     <h2><a href="types">C types</a></h2>
 
       also rebuild locally, run 'make check syntax-check', and make sure you
       don't raise errors. Try to look for warnings too; for example,
       configure with
+    </p>
 <pre>
       --enable-compile-warnings=error
 </pre>
+    <p>
       which adds -Werror to compile flags, so no warnings get missed
     </p>