[PATCH] util: virstring: Remove unused prototypes for virStr(n)dup

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

 



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

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 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




[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