freebsd-dev/lib/libzutil
Richard Yao d1807f168e nvpair: Constify string functions
After addressing coverity complaints involving `nvpair_name()`, the
compiler started complaining about dropping const. This lead to a rabbit
hole where not only `nvpair_name()` needed to be constified, but also
`nvpair_value_string()`, `fnvpair_value_string()` and a few other static
functions, plus variable pointers throughout the code. The result became
a fairly big change, so it has been split out into its own patch.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14612
2023-03-14 15:25:50 -07:00
..
os nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
Makefile.am Use setproctitle to report progress of zfs send 2023-01-17 10:17:35 -08:00
zutil_device_path.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zutil_import.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
zutil_import.h nvpair: Constify string functions 2023-03-14 15:25:50 -07:00
zutil_nicenum.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zutil_pool.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00