summaryrefslogtreecommitdiff
path: root/media-libs/flac/files/flac-1.4.2-macro-wstrict-prototypes.patch
blob: d836f6aa2206331f962b3ba62dac9a3e5317c426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
https://github.com/xiph/flac/pull/521

From afd9e9006d2c18d184db098bec0a0618cb4f0283 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Wed, 23 Nov 2022 03:31:30 +0000
Subject: [PATCH] libFLAC.m4, libFLAC++.m4: fix -Wstrict-prototypes

Signed-off-by: Sam James <sam@gentoo.org>
--- a/src/libFLAC++/libFLAC++.m4
+++ b/src/libFLAC++/libFLAC++.m4
@@ -57,7 +57,7 @@ dnl
 #include <string.h>
 #include <FLAC++/decoder.h>
 
-int main ()
+int main (void)
 {
   system("touch conf.libFLAC++test");
   return 0;
--- a/src/libFLAC/libFLAC.m4
+++ b/src/libFLAC/libFLAC.m4
@@ -58,7 +58,7 @@ dnl
 #include <string.h>
 #include <FLAC/format.h>
 
-int main ()
+int main (void)
 {
   system("touch conf.libFLACtest");
   return 0;