Print this page
11210 libm should be cstyle(1ONBLD) clean

@@ -20,21 +20,26 @@
  */
 
 /*
  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  */
+
 /*
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 #include "libm.h"
 
-long double __poly_libmq(x,n,p)
-long double x,p[];
-int n;
+long double
+__poly_libmq(long double x, int n, long double p[])
 {
-        long double t; int i;
-        t = p[n-1];
-        for(i=n-2;i>=0;i--) t = p[i] + x*t;
-        return t;
+        long double t;
+        int i;
+
+        t = p[n - 1];
+
+        for (i = n - 2; i >= 0; i--)
+                t = p[i] + x * t;
+
+        return (t);
 }