Whamcloud - gitweb
LU-8191 libcfs: convert functions to static, removed function
authorTimothy Day <timday@amazon.com>
Thu, 28 Mar 2024 23:47:01 +0000 (16:47 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 30 Mar 2024 07:24:33 +0000 (07:24 +0000)
commitef72003b0385402b41f3704dc4683b594516e579
tree4a02844d565d4ff94249c3d2d302ae2b81b7ab35
parent809809a85b4d2eee42d1366e0f5d9b991a92efac
LU-8191 libcfs: convert functions to static, removed function

Static analysis shows that a number of functions
could be made static. This patch declares several
functions in libcfs static.

Remove cfs_expr_list_values_free in string.c, since
it is not used.

A header was missing in param.c, causing a number of
functions to be missing declarations.

Lustre-change: https://review.whamcloud.com/51428
Lustre-commit: 067dfd8d2701572ebe7246726c14a6e72a78cb33

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ia580881efa806bde49d532e5b2d8f5097f2294e0
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54620
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/libcfs/tracefile.c
libcfs/libcfs/util/param.c
libcfs/libcfs/util/string.c