summaryrefslogtreecommitdiff
path: root/media-libs/opus/files/opus-1.3.1-macro-wstrict-prototypes.patch
blob: 34edb539b29cb6c6496454050640809ea0b44900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
https://gitlab.xiph.org/xiph/opus/-/merge_requests/56

From 402615a38851f7180c3ac01e246fcbc7de9fd451 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Wed, 23 Nov 2022 03:19:54 +0000
Subject: [PATCH] opus.m4: fix -Wstrict-prototypes

Signed-off-by: Sam James <sam@gentoo.org>
--- a/opus.m4
+++ b/opus.m4
@@ -63,7 +63,7 @@ dnl
 #include <string.h>
 #include <opus.h>
 
-int main ()
+int main (void)
 {
   system("touch conf.opustest");
   return 0;
GitLab