summaryrefslogtreecommitdiff
path: root/sci-libs/primegen/files/primegen-0.97-main-rettype.patch
blob: 660dc193ab2bf0e2eab816002fb36015bf93b6c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Adding return type to main function
Bug: https://bugs.gentoo.org/898288
--- a/eratspeed.c
+++ b/eratspeed.c
@@ -402,7 +402,7 @@ void countit()
 timing t;
 timing told;
 
-main()
+int main()
 {
   int L = 1;