aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/runtime/libF77/erfc_.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f/runtime/libF77/erfc_.c')
-rw-r--r--gcc/f/runtime/libF77/erfc_.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/f/runtime/libF77/erfc_.c b/gcc/f/runtime/libF77/erfc_.c
new file mode 100644
index 00000000000..f44b1d49d84
--- /dev/null
+++ b/gcc/f/runtime/libF77/erfc_.c
@@ -0,0 +1,12 @@
+#include "f2c.h"
+
+#ifdef KR_headers
+double erfc();
+double G77_erfc_0 (x) real *x;
+#else
+extern double erfc(double);
+double G77_erfc_0 (real *x)
+#endif
+{
+return( erfc(*x) );
+}