aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/macos_kperf.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2023-07-19 20:23:57 +0300
committerRémi Denis-Courmont <remi@remlab.net>2023-07-22 21:35:15 +0300
commit983af7445210271852dc8edaadf927d4bfb4f90c (patch)
tree0dacd92144796c1a457e9da49700ad3f77ea9d0b /libavutil/macos_kperf.c
parentc644aabec8e1144ca5646dc7da2583dd82092119 (diff)
downloadffmpeg-983af7445210271852dc8edaadf927d4bfb4f90c.tar.gz
macos_kperf: fix incomplete prototype
Diffstat (limited to 'libavutil/macos_kperf.c')
-rw-r--r--libavutil/macos_kperf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/macos_kperf.c b/libavutil/macos_kperf.c
index 9fc04c6349..9fb047eeee 100644
--- a/libavutil/macos_kperf.c
+++ b/libavutil/macos_kperf.c
@@ -102,7 +102,7 @@ void ff_kperf_init(void)
ff_thread_once(&init_static_once, kperf_init);
}
-uint64_t ff_kperf_cycles()
+uint64_t ff_kperf_cycles(void)
{
uint64_t counters[COUNTERS_COUNT];
if (kpc_get_thread_counters(0, COUNTERS_COUNT, counters)) {