diff mbox series

[FFmpeg-devel] macos_kperf: fix incomplete prototype

Message ID 20230719172407.22641-1-remi@remlab.net
State Accepted
Commit 983af7445210271852dc8edaadf927d4bfb4f90c
Headers show
Series [FFmpeg-devel] macos_kperf: fix incomplete prototype | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Rémi Denis-Courmont July 19, 2023, 5:24 p.m. UTC
---
 libavutil/macos_kperf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)) {