diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-05-25 05:30:57 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-05-25 05:30:57 +0000 |
commit | 310049a19b15969413ad11ca4e75925fc0998a67 (patch) | |
tree | d07484e8f7b7a4634d5ee2ad39173f138bee541d /src/backend/utils/adt/float.c | |
parent | 8facf2df0b511225fd794cd6e6b75227e9b21973 (diff) | |
download | postgresql-310049a19b15969413ad11ca4e75925fc0998a67.tar.gz postgresql-310049a19b15969413ad11ca4e75925fc0998a67.zip |
Clean up our static cbrt() implementation in float.c.
Diffstat (limited to 'src/backend/utils/adt/float.c')
-rw-r--r-- | src/backend/utils/adt/float.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c index e954e7e9493..21481453ad5 100644 --- a/src/backend/utils/adt/float.c +++ b/src/backend/utils/adt/float.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.87 2003/05/09 21:19:49 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.88 2003/05/25 05:30:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -70,24 +70,9 @@ #include "utils/builtins.h" -#if !(NeXT && NX_CURRENT_COMPILER_RELEASE > NX_COMPILER_RELEASE_3_2) - /* NS3.3 has conflicting declarations of these in <math.h> */ - -#ifndef atof -extern double atof(const char *p); -#endif - #ifndef HAVE_CBRT -#define cbrt my_cbrt static double cbrt(double x); - -#else -#if !defined(nextstep) -extern double cbrt(double x); -#endif #endif /* HAVE_CBRT */ -#endif /* NeXT check */ - #ifndef M_PI /* from my RH5.2 gcc math.h file - thomas 2000-04-03 */ @@ -1983,7 +1968,7 @@ float84ge(PG_FUNCTION_ARGS) /* ========== PRIVATE ROUTINES ========== */ #ifndef HAVE_CBRT - +/* I doubt this is still needed by any platform. 2003-05-25 */ static double cbrt(double x) { |