summaryrefslogtreecommitdiff
path: root/gnu/lib/libf2c/libF77/pow_ci.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libf2c/libF77/pow_ci.c')
-rw-r--r--gnu/lib/libf2c/libF77/pow_ci.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/gnu/lib/libf2c/libF77/pow_ci.c b/gnu/lib/libf2c/libF77/pow_ci.c
index 37e2ce0f2eb..1df3eb34b00 100644
--- a/gnu/lib/libf2c/libF77/pow_ci.c
+++ b/gnu/lib/libf2c/libF77/pow_ci.c
@@ -1,20 +1,16 @@
#include "f2c.h"
-#ifdef KR_headers
-VOID pow_ci(p, a, b) /* p = a**b */
- complex *p, *a; integer *b;
-#else
-extern void pow_zi(doublecomplex*, doublecomplex*, integer*);
-void pow_ci(complex *p, complex *a, integer *b) /* p = a**b */
-#endif
+extern void pow_zi (doublecomplex *, doublecomplex *, integer *);
+void
+pow_ci (complex * p, complex * a, integer * b) /* p = a**b */
{
-doublecomplex p1, a1;
+ doublecomplex p1, a1;
-a1.r = a->r;
-a1.i = a->i;
+ a1.r = a->r;
+ a1.i = a->i;
-pow_zi(&p1, &a1, b);
+ pow_zi (&p1, &a1, b);
-p->r = p1.r;
-p->i = p1.i;
+ p->r = p1.r;
+ p->i = p1.i;
}