Remove the unused archive_string_sprintf() utility function.

This commit is contained in:
Tim Kientzle 2004-11-05 05:32:04 +00:00
parent 48cbe7223a
commit 88507deac2
2 changed files with 0 additions and 18 deletions

View File

@ -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

View File

@ -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);
}