diff options
author | kientzle <kientzle@FreeBSD.org> | 2005-06-01 15:52:39 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2005-06-01 15:52:39 +0000 |
commit | 583200b7e67aa14ecf20d560c49ee4ff4ab6d37d (patch) | |
tree | 8b0726506b461ec34909f06cc5e3be340671c434 /lib/libarchive/archive_write_set_compression_bzip2.c | |
parent | cae6a1d6e9d7358ab1f46447fe83f0d9c49349ee (diff) | |
download | FreeBSD-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_write_set_compression_bzip2.c')
-rw-r--r-- | lib/libarchive/archive_write_set_compression_bzip2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_set_compression_bzip2.c b/lib/libarchive/archive_write_set_compression_bzip2.c index f56b798..429cc15 100644 --- a/lib/libarchive/archive_write_set_compression_bzip2.c +++ b/lib/libarchive/archive_write_set_compression_bzip2.c @@ -68,7 +68,7 @@ static int drive_compressor(struct archive *, struct private_data *, int archive_write_set_compression_bzip2(struct archive *a) { - archive_check_magic(a, ARCHIVE_WRITE_MAGIC, ARCHIVE_STATE_NEW); + __archive_check_magic(a, ARCHIVE_WRITE_MAGIC, ARCHIVE_STATE_NEW, "archive_write_set_compression_bzip2"); a->compression_init = &archive_compressor_bzip2_init; a->compression_code = ARCHIVE_COMPRESSION_BZIP2; a->compression_name = "bzip2"; |