summaryrefslogtreecommitdiff
path: root/sci-libs/punc/files/punc-1.5-explicit-main.patch
blob: f952d18c3ab19d99e57fe7a9bc89d982e56c06ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Return type of functions must be explicit, C99
https://bugs.gentoo.org/886461
--- a/src/vf2c/main.c
+++ b/src/vf2c/main.c
@@ -110,9 +110,9 @@
 #endif
 
 #ifdef KR_headers
-main(argc, argv) int argc; char **argv;
+int main(argc, argv) int argc; char **argv;
 #else
-main(int argc, char **argv)
+int main(int argc, char **argv)
 #endif
 {
 xargc = argc;