mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
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:
parent
8b1755024b
commit
d115019b6a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user