summaryrefslogtreecommitdiff
path: root/gnu/lib/libf2c/libF77/pow_dd.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-12-30 17:35:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-12-30 17:35:29 +0000
commit157d4bd650a3e421c5bac48da7e528af9a6a76e2 (patch)
tree0379fb2c85e183c3c5669d425b3e42ae4592791b /gnu/lib/libf2c/libF77/pow_dd.c
parent791194721fec8918406191b62da6dc41f2d690e5 (diff)
Actual synch with 3.3.5.
Changes in Makefile.bsd-wrapper to avoid prereq. Fix in lib*/config.h.in to include the right ones and get the correct definitions. Bump of shlib_version accordingly.
Diffstat (limited to 'gnu/lib/libf2c/libF77/pow_dd.c')
-rw-r--r--gnu/lib/libf2c/libF77/pow_dd.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gnu/lib/libf2c/libF77/pow_dd.c b/gnu/lib/libf2c/libF77/pow_dd.c
index d0dd0ff2744..0ab208ebf62 100644
--- a/gnu/lib/libf2c/libF77/pow_dd.c
+++ b/gnu/lib/libf2c/libF77/pow_dd.c
@@ -1,13 +1,9 @@
#include "f2c.h"
-#ifdef KR_headers
-double pow();
-double pow_dd(ap, bp) doublereal *ap, *bp;
-#else
#undef abs
#include <math.h>
-double pow_dd(doublereal *ap, doublereal *bp)
-#endif
+double
+pow_dd (doublereal * ap, doublereal * bp)
{
-return(pow(*ap, *bp) );
+ return (pow (*ap, *bp));
}