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

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

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Peter Krempa 2021-02-01 14:46:46 +01:00
parent 8b1755024b
commit d115019b6a

View File

@ -123,13 +123,6 @@ int virStrcpy(char *dest, const char *src, size_t destbytes)
G_GNUC_WARN_UNUSED_RESULT; G_GNUC_WARN_UNUSED_RESULT;
#define virStrcpyStatic(dest, src) virStrcpy((dest), (src), sizeof(dest)) #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); size_t virStringListLength(const char * const *strings);
int virStringSortCompare(const void *a, const void *b); int virStringSortCompare(const void *a, const void *b);