[FFmpeg-cvslog] macos_kperf: fix incomplete prototype

Rémi Denis-Courmont git at videolan.org
Sat Jul 22 21:37:09 EEST 2023


ffmpeg | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 19 20:23:57 2023 +0300| [983af7445210271852dc8edaadf927d4bfb4f90c] | committer: Rémi Denis-Courmont

macos_kperf: fix incomplete prototype

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=983af7445210271852dc8edaadf927d4bfb4f90c
---

 libavutil/macos_kperf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list