summaryrefslogtreecommitdiff
path: root/libgfortran/c99_protos.h
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-21 06:44:50 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-21 06:44:50 +0000
commit50f0ca0a0d7f9b6a4e94b4c42f59f4cee2c1a7f1 (patch)
treee0800c58d9a0cf8ee2e6fb295ce7e5093a94bfd1 /libgfortran/c99_protos.h
parent337acf8732b0617d36c359e2a6efa85911243fd3 (diff)
downloadgcc-50f0ca0a0d7f9b6a4e94b4c42f59f4cee2c1a7f1.tar.gz
* configure.ac: Check for trunc and truncf in libm.
* configure: Regenerate. * config.h.in: Likewise. * intrinsics/c99_functions.c (trunc, truncf): New functions. * c99_protos.h (trunc, truncf): Declare them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100040 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/c99_protos.h')
-rw-r--r--libgfortran/c99_protos.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgfortran/c99_protos.h b/libgfortran/c99_protos.h
index 99d61725cbf..521f205399a 100644
--- a/libgfortran/c99_protos.h
+++ b/libgfortran/c99_protos.h
@@ -113,6 +113,14 @@ extern float tanf(float);
extern float tanhf(float);
#endif
+#ifndef HAVE_TRUNC
+extern double trunc(double x);
+#endif
+
+#ifndef HAVE_TRUNCF
+extern float truncf(float x);
+#endif
+
#ifndef HAVE_NEXTAFTERF
extern float nextafterf(float, float);
#endif