libcpupower: Hide private function
authorBen Hutchings <ben@decadent.org.uk>
Sat, 1 Dec 2018 19:22:50 +0000 (19:22 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 21 Aug 2019 12:48:11 +0000 (13:48 +0100)
commitaa6e765b6937e038a3ec3e8de8db956c11360263
tree8893a658541bb90625c09c466f8999dcfc6cad9d
parent7da474beda3db94d27514f894d1a07bceadbbc8c
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