Whamcloud - gitweb
LU-8191 libcfs: convert functions to static, removed function 28/51428/2
authorTimothy Day <timday@amazon.com>
Fri, 23 Jun 2023 20:31:30 +0000 (20:31 +0000)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Oct 2023 05:47:56 +0000 (05:47 +0000)
commit067dfd8d2701572ebe7246726c14a6e72a78cb33
treed4214d5369ec98633634558eb1b00c991e984754
parent2d8c7027e96584ca77d57e44d74ef9e366caa95c
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.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Ia580881efa806bde49d532e5b2d8f5097f2294e0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51428
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/tracefile.c
libcfs/libcfs/util/nidstrings.c
libcfs/libcfs/util/param.c
libcfs/libcfs/util/string.c