The headers weren't removed after use of VIR_STRDUP was removed.

Signed-off-by: Peter Krempa <[email protected]>
---
 src/util/virstring.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/util/virstring.h b/src/util/virstring.h
index 55547b040a..cfd24f0b74 100644
--- a/src/util/virstring.h
+++ b/src/util/virstring.h
@@ -123,13 +123,6 @@ int virStrcpy(char *dest, const char *src, size_t 
destbytes)
     G_GNUC_WARN_UNUSED_RESULT;
 #define virStrcpyStatic(dest, src) virStrcpy((dest), (src), sizeof(dest))

-/* Don't call these directly - use the macros below */
-int virStrdup(char **dest, const char *src)
-    G_GNUC_WARN_UNUSED_RESULT ATTRIBUTE_NONNULL(1);
-
-int virStrndup(char **dest, const char *src, ssize_t n)
-    G_GNUC_WARN_UNUSED_RESULT ATTRIBUTE_NONNULL(1);
-
 size_t virStringListLength(const char * const *strings);

 int virStringSortCompare(const void *a, const void *b);
-- 
2.29.2

Reply via email to