From patchwork Wed Jul 19 17:24:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= X-Patchwork-Id: 42842 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:b813:b0:130:ccc6:6c4b with SMTP id fi19csp1345714pzb; Wed, 19 Jul 2023 10:24:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlHhSav7TT0Qu/glzN0PXV5vdrYjtwnfJqhWTjr2Jj1vDxbnXI43Sj2vYJoi1NGPd8XLza+p X-Received: by 2002:a19:5f1e:0:b0:4fb:77d6:89c3 with SMTP id t30-20020a195f1e000000b004fb77d689c3mr418742lfb.12.1689787458089; Wed, 19 Jul 2023 10:24:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689787458; cv=none; d=google.com; s=arc-20160816; b=OFBlw/NKz3ci8/d3KotU7t76qmL2udedheqLPrf4sAqd1Emkqc3nooYcSOu5tueAC6 JA2lGYHp+yyTYajlSgQtbN8MtH49+vTJsuxHiER0b0NQUnxzdphs14Oda03cz2fIh4Lo PoQn+z4I6GxFdk151hI0VAcp8ueTaB+AZwWztevmsXlp3lovJ5AxNE8ipq/iCudrv1n3 j2Arba+b4SgFTq9M5MJqRsqy+ILt21GzrSNifybz2lc7+r+iYgUbUG6u9yKHuxMOXZde Tzq6idsTf5ufzuEdGdkqyT8PyLr1Ar2j5CYSth6BEjx+6weU7h81ZEcpAHZGYARnqNsy LMTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:message-id:date:to:from :delivered-to; bh=m77qvIkDOufRKV5SQ8a87zqY9MgYusOosv7cEkuCNds=; fh=hQcp50obTJ8bXC1it5NuEN23RGKfx0/zZ3s2gmreL+A=; b=Bd4CY6APaotiUBkXGwAJaP1Z+Im9LGudscjaduRqCm1INrsardkInXvqWO/OdZKADY QQflM2/G7rG0byZ/l8WaphUIEJEfAE9ACaj+e78lWbjUiVELYpIuv2YclYpQOqD3rLVg cmhhBTIfy91gFOMpiUWTfsQViZTQNFSxvjbOEA/Yj4m8AMFycVULUQwMFjVj1fWeiNvK Ui/xGCMaNmtMUYALhRbAAJm/Ap6t1x3oSKF4R47DK1A4Nt7ZAQao1aY7B2qcH+blHuQE JGuHI1cRMRRIiuptOHcu0wxehxsqS4VjszrMhfKIHjb0rmogNuhu9sXWpgb8Ol2iRz7K 5tKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id o8-20020aa7c7c8000000b0051f493e176bsi3832600eds.514.2023.07.19.10.24.17; Wed, 19 Jul 2023 10:24:18 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E972868C5F8; Wed, 19 Jul 2023 20:24:14 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from ursule.remlab.net (vps-a2bccee9.vps.ovh.net [51.75.19.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3E8A868C3A3 for ; Wed, 19 Jul 2023 20:24:08 +0300 (EEST) Received: from basile.remlab.net (localhost [IPv6:::1]) by ursule.remlab.net (Postfix) with ESMTP id D0979C01EF for ; Wed, 19 Jul 2023 20:24:07 +0300 (EEST) From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= To: ffmpeg-devel@ffmpeg.org Date: Wed, 19 Jul 2023 20:24:07 +0300 Message-Id: <20230719172407.22641-1-remi@remlab.net> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] macos_kperf: fix incomplete prototype X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: xjYg2rQ/QlVL --- 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)) {