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, 27 Jul 2023 22:17:15 +0000 (23:17 +0100)
commit914ebe6d048961fc3a4a2ea547ad1e19e80dbc8f
tree75cb7353780f1676e3e2dedbd7382069f7eeeed3
parentda471636400f29aaafa8b19a17673810b0d370e8
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