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>
Fri, 28 May 2021 08:31:38 +0000 (09:31 +0100)
commit03ef8b4d8194fb8c09d2106fa7bdbaa065644b4e
treef47ae313b0ade238e08451869137c59448d8e740
parent73564935ae085918a41fbb5c6d83ebab10192b0f
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