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>
Sat, 23 May 2020 14:29:21 +0000 (15:29 +0100)
commit31e5fcb785cd833c62ccc43b6087d5e165264b36
tree36702c9a3e91362c8e4f0ce69945c8dac30436b5
parent9450d2f3e6dbe9acc94de756a90ab397c2bb9d46
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