Remove the unused archive_string_sprintf() utility function.
This commit is contained in:
parent
48cbe7223a
commit
88507deac2
@ -104,9 +104,4 @@ void __archive_string_vsprintf(struct archive_string *, const char *,
|
||||
va_list);
|
||||
#define archive_string_vsprintf __archive_string_vsprintf
|
||||
|
||||
/* Like 'sprintf', but resizes the underlying string as necessary. */
|
||||
void __archive_string_sprintf(struct archive_string *, const char *, ...);
|
||||
#define archive_string_sprintf __archive_string_sprintf
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -64,16 +64,3 @@ __archive_string_vsprintf(struct archive_string *as, const char *fmt,
|
||||
as->length = l;
|
||||
va_end(ap1);
|
||||
}
|
||||
|
||||
/*
|
||||
* Corresponding 'sprintf' interface.
|
||||
*/
|
||||
void
|
||||
__archive_string_sprintf(struct archive_string *as, const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
__archive_string_vsprintf(as, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user