Files
2013-09-26 17:14:40 +02:00

25 lines
513 B
Plaintext

$NetBSD: patch-aa,v 1.2 2011/09/12 07:24:52 dholland Exp $
- fix void main
- exit with a 0.
--- flops.c.orig 2011-09-12 07:23:22.000000000 +0000
+++ flops.c
@@ -170,7 +170,7 @@ double D3 = 0.1233153E-5;
double E2 = 0.48E-3;
double E3 = 0.411051E-6;
-void main()
+int main()
{
#ifdef ROPT
@@ -638,6 +638,7 @@ void main()
printf(" MFLOPS(3) = %10.4lf\n",T[32]);
printf(" MFLOPS(4) = %10.4lf\n\n",T[34]);
+ exit(0);
}
/*****************************************************/