[sysprof] Add missing id parameters to <section>s so yelp-check validates



commit 57b863129e5eb0fb9b183d46c7aec35b02ad8aaa
Author: Andre Klapper <a9016009 gmx de>
Date:   Mon Sep 25 18:14:17 2017 +0200

    Add missing id parameters to <section>s so yelp-check validates

 help/C/faq.page |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/help/C/faq.page b/help/C/faq.page
index e2bc347..e8d3dd5 100644
--- a/help/C/faq.page
+++ b/help/C/faq.page
@@ -3,19 +3,22 @@
       type="topic"
       id="faq">
 
-  <section id="what-does-heap-mean">
     <info>
       <link type="guide" xref="index#faq"/>
     </info>
-    <title>What does "In file [heap]" mean?</title>
+    <title>What does heap mean?</title>
 
-    <p>This means that sysprof believes a function was called from somewhere in
-    the program's heap (where <code>malloc</code> allocates memory) rather than
-    the code section (where executable code normally lives.) There are several
-    possible explanations.
-    </p>
+    <section id="what-does-heap-mean">
+      <title>What does "In file [heap]" mean?</title>
 
-    <section>
+      <p>This means that sysprof believes a function was called from somewhere in
+      the program's heap (where <code>malloc</code> allocates memory) rather than
+      the code section (where executable code normally lives.) There are several
+      possible explanations.
+      </p>
+    </section>
+
+    <section id="jit">
       <title>JIT (Just in Time) compilers</title>
 
       <p>Languages like Java can generate executable code while a program is
@@ -23,7 +26,7 @@
       situation in this case.</p>
     </section>
 
-    <section>
+    <section id="optimizing">
       <title>Optimizing compilers</title>
 
       <p>C and C++ compilers can optimize away information needed to determine a
@@ -42,5 +45,4 @@
         code, use these flags: <code>-ggdb -fno-omit-frame-pointer -O0</code></p>
       </note>
     </section>
-  </section>
 </page>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]