summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_read_data_into_fd.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2005-06-01 15:52:39 +0000
committerkientzle <kientzle@FreeBSD.org>2005-06-01 15:52:39 +0000
commit583200b7e67aa14ecf20d560c49ee4ff4ab6d37d (patch)
tree8b0726506b461ec34909f06cc5e3be340671c434 /lib/libarchive/archive_read_data_into_fd.c
parentcae6a1d6e9d7358ab1f46447fe83f0d9c49349ee (diff)
downloadFreeBSD-src-583200b7e67aa14ecf20d560c49ee4ff4ab6d37d.zip
FreeBSD-src-583200b7e67aa14ecf20d560c49ee4ff4ab6d37d.tar.gz
Remove the C99-specific __func__ that is one of the few barrier to
compiling on IRIX and Solaris. Remove the "archive_check_magic" macro that existed only to provide __func__ to the underlying __archive_check_magic function. Thanks to: Darin Broady MFC after: 14 days
Diffstat (limited to 'lib/libarchive/archive_read_data_into_fd.c')
-rw-r--r--lib/libarchive/archive_read_data_into_fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_read_data_into_fd.c b/lib/libarchive/archive_read_data_into_fd.c
index b2143ca..b01220d 100644
--- a/lib/libarchive/archive_read_data_into_fd.c
+++ b/lib/libarchive/archive_read_data_into_fd.c
@@ -49,7 +49,7 @@ archive_read_data_into_fd(struct archive *a, int fd)
off_t offset;
off_t output_offset;
- archive_check_magic(a, ARCHIVE_READ_MAGIC, ARCHIVE_STATE_DATA);
+ __archive_check_magic(a, ARCHIVE_READ_MAGIC, ARCHIVE_STATE_DATA, "archive_read_data_into_fd");
total_written = 0;
output_offset = 0;
OpenPOWER on IntegriCloud