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_gzip.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_gzip.c')
-rw-r--r-- | lib/libarchive/archive_write_set_compression_gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_set_compression_gzip.c b/lib/libarchive/archive_write_set_compression_gzip.c index 94a2626..3229507 100644 --- a/lib/libarchive/archive_write_set_compression_gzip.c +++ b/lib/libarchive/archive_write_set_compression_gzip.c @@ -70,7 +70,7 @@ static int drive_compressor(struct archive *, struct private_data *, int archive_write_set_compression_gzip(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_gzip"); a->compression_init = &archive_compressor_gzip_init; a->compression_code = ARCHIVE_COMPRESSION_GZIP; a->compression_name = "gzip"; |