]> git.ipfire.org Git - thirdparty/libarchive.git/commit
constify variables more 891/head
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Mar 2017 06:26:52 +0000 (02:26 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Mar 2017 17:28:26 +0000 (13:28 -0400)
commit872a761591806bbbf069e057d9dc0301f338f08d
treefcc9663a649803908210413d16fa059f21d1b9f9
parent4fb11600dd38b0b32f16bd4539b32bdc84738736
constify variables more

A bunch of constant variables/tables are missing const markings.
Adding them allows moving more data to the read only sections, and
ends up shrinking writable data a bit by 1k on x86_64/Linux.  Not
much, but still nice.
16 files changed:
libarchive/archive_entry.c
libarchive/archive_pack_dev.c
libarchive/archive_read_support_format_cab.c
libarchive/archive_read_support_format_lha.c
libarchive/archive_read_support_format_mtree.c
libarchive/archive_read_support_format_zip.c
libarchive/archive_string_sprintf.c
libarchive/archive_util.c
libarchive/archive_write_add_filter.c
libarchive/archive_write_add_filter_by_name.c
libarchive/archive_write_add_filter_lz4.c
libarchive/archive_write_add_filter_program.c
libarchive/archive_write_set_format.c
libarchive/archive_write_set_format_by_name.c
libarchive/archive_write_set_format_filter_by_ext.c
libarchive/archive_write_set_format_warc.c