aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/runtime/libF77/d_sinh.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/runtime/libF77/d_sinh.c')
-rw-r--r--gcc/f/runtime/libF77/d_sinh.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/f/runtime/libF77/d_sinh.c b/gcc/f/runtime/libF77/d_sinh.c
new file mode 100644
index 00000000000..77f36904f8e
--- /dev/null
+++ b/gcc/f/runtime/libF77/d_sinh.c
@@ -0,0 +1,13 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+double sinh();
+double d_sinh(x) doublereal *x;
+#else
+#undef abs
+#include <math.h>
+double d_sinh(doublereal *x)
+#endif
+{
+return( sinh(*x) );
+}