[libvirt PATCH 4/4] docs: hacking: move virStrerror to removed functions

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

 



Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 docs/hacking.html.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docs/hacking.html.in b/docs/hacking.html.in
index 94c74863b9..1756e84fc4 100644
--- a/docs/hacking.html.in
+++ b/docs/hacking.html.in
@@ -1070,8 +1070,6 @@ BAD:
         <tr><td><code>virAsprintf</code></td><td><code>g_strdup_printf</code></td><td></td></tr>
         <tr><td><code>virVasprintf</code></td><td><code>g_strdup_vprint</code></td>
             <td>use <code>g_vasprintf</code> if you really need to know the returned length</td></tr>
-        <tr><td><code>virStrerror</code></td><td><code>g_strerror</code></td>
-            <td>the error strings are cached globally so no need to free it</td></tr>
     </table>
     </dl>
 
@@ -1127,6 +1125,7 @@ BAD:
         <tr><td><code>ATTRIBUTE_UNUSED</code></td><td><code>G_GNUC_UNUSED</code></td><td></td></tr>
         <tr><td><code>VIR_STRDUP</code></td><td><code>g_strdup</code></td><td></td></tr>
         <tr><td><code>VIR_STRNDUP</code></td><td><code>g_strndup</code></td><td></td></tr>
+        <tr><td><code>virStrerror</code></td><td><code>g_strerror</code></td><td></td></tr>
     </table>
 
 
-- 
2.24.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux