libcpupower: Hide private function
authorBen Hutchings <ben@decadent.org.uk>
Sat, 1 Dec 2018 19:22:50 +0000 (19:22 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 9 Jun 2022 21:37:36 +0000 (22:37 +0100)
commitc3f9f981d2ebf4c78709ca03e1aeee47151e7167
tree484fef3062844b81e42dac6510d6543aff63f34a
parent8c9fc7e50af9a6da7f528e12e351530cf020e28a
libcpupower: Hide private function

cpupower_read_sysfs() (previously known as sysfs_read_file()) is an
internal function in libcpupower and should not be exported when
libcpupower is a shared library.  Change its visibility to "hidden".

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name libcpupower-hide-private-function.patch
tools/power/cpupower/lib/cpupower.c