aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2004-11-05 05:32:04 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2004-11-05 05:32:04 +0000
commit88507deac27c3ee1293b8a380f632edb61410bb8 (patch)
tree34a7a67a006e1c49f592a1234b22ffff1b5f2028 /lib
parent48cbe7223a84623d52402a35aae14b51390d9519 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/archive_string.h5
-rw-r--r--lib/libarchive/archive_string_sprintf.c13
2 files changed, 0 insertions, 18 deletions
diff --git a/lib/libarchive/archive_string.h b/lib/libarchive/archive_string.h
index 1c6e8b17f955..79597df172da 100644
--- a/lib/libarchive/archive_string.h
+++ b/lib/libarchive/archive_string.h
@@ -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
diff --git a/lib/libarchive/archive_string_sprintf.c b/lib/libarchive/archive_string_sprintf.c
index b191b4b25355..d5e8d86cb5b9 100644
--- a/lib/libarchive/archive_string_sprintf.c
+++ b/lib/libarchive/archive_string_sprintf.c
@@ -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);
-}