From 22ae47e29c7d0d80e5c83120167063eaafc10db9 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Sun, 8 Oct 2006 19:16:38 +0200 Subject: [PATCH] c99_protos.h: Correctly protect definitions of prototypes for asinhf... * c99_protos.h: Correctly protect definitions of prototypes for asinhf, acoshf and atanhf to be the same as in intrinsics/hyper.c. From-SVN: r117559 --- libgfortran/ChangeLog | 5 +++++ libgfortran/c99_protos.h | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 42b35f4ed3f..6825bc32576 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2006-10-08 Francois-Xavier Coudert + + * c99_protos.h: Correctly protect definitions of prototypes for + asinhf, acoshf and atanhf to be the same as in intrinsics/hyper.c. + 2006-10-08 Paul Thomas Erik Edelmann diff --git a/libgfortran/c99_protos.h b/libgfortran/c99_protos.h index 96f99150666..b7c992c2480 100644 --- a/libgfortran/c99_protos.h +++ b/libgfortran/c99_protos.h @@ -1,5 +1,5 @@ /* Declarations of various C99 functions - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is part of the GNU Fortran 95 runtime library (libgfortran). @@ -35,7 +35,7 @@ Boston, MA 02110-1301, USA. */ extern float acosf(float); #endif -#ifndef HAVE_ACOSHF +#if HAVE_ACOSH && !HAVE_ACOSHF #define HAVE_ACOSHF 1 extern float acoshf(float); #endif @@ -45,7 +45,7 @@ extern float acoshf(float); extern float asinf(float); #endif -#ifndef HAVE_ASINHF +#if HAVE_ASINH && !HAVE_ASINHF #define HAVE_ASINHF 1 extern float asinhf(float); #endif @@ -60,7 +60,7 @@ extern float atan2f(float, float); extern float atanf(float); #endif -#ifndef HAVE_ATANHF +#if HAVE_ATANH && !HAVE_ATANHF #define HAVE_ATANHF 1 extern float atanhf(float); #endif