summaryrefslogtreecommitdiff
path: root/lib/libarchive/archive_string.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2004-05-03 01:40:34 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2004-05-03 01:40:34 +0000
commit71125f3eb4223cadd445705a72c178eab82a9858 (patch)
tree8371c0b36828cb40b9239ceefed1349a8ff24f20 /lib/libarchive/archive_string.h
parentb62b2304616f87b607e5db36d6d1cc28759aea6e (diff)
Notes
Diffstat (limited to 'lib/libarchive/archive_string.h')
-rw-r--r--lib/libarchive/archive_string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libarchive/archive_string.h b/lib/libarchive/archive_string.h
index 6cbe72229301..1c6e8b17f955 100644
--- a/lib/libarchive/archive_string.h
+++ b/lib/libarchive/archive_string.h
@@ -51,7 +51,7 @@ struct archive_string {
};
/* Initialize an archive_string object on the stack or elsewhere. */
-#define archive_string_init(a) \
+#define archive_string_init(a) \
do { (a)->s = NULL; (a)->length = 0; (a)->buffer_length = 0; } while(0)
/* Append a C char to an archive_string, resizing as necessary. */
@@ -102,11 +102,11 @@ void __archive_string_free(struct archive_string *);
/* Like 'vsprintf', but resizes the underlying string as necessary. */
void __archive_string_vsprintf(struct archive_string *, const char *,
va_list);
-#define archive_string_vsprintf __archive_string_vsprintf
+#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
+#define archive_string_sprintf __archive_string_sprintf
#endif