mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
virstring: Drop virAsprintfQuiet()
This macro is no longer used and therefore can be dropped. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
8eaa708991
commit
a028630620
@ -241,18 +241,6 @@ size_t virStringListLength(const char * const *strings);
|
||||
|
||||
#define virAsprintf(strp, ...) virAsprintfInternal(strp, __VA_ARGS__)
|
||||
|
||||
/**
|
||||
* virAsprintfQuiet:
|
||||
* @strp: variable to hold result (char **)
|
||||
* @fmt: printf format
|
||||
*
|
||||
* Like glibc's asprintf but makes sure *strp == NULL on failure.
|
||||
*
|
||||
* Returns number of bytes printed on success, aborts on OOM
|
||||
*/
|
||||
|
||||
#define virAsprintfQuiet(strp, ...) virAsprintf(strp, __VA_ARGS__)
|
||||
|
||||
int virStringSortCompare(const void *a, const void *b);
|
||||
int virStringSortRevCompare(const void *a, const void *b);
|
||||
int virStringToUpper(char **dst, const char *src);
|
||||
|
Loading…
x
Reference in New Issue
Block a user