lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 7d5c739b 01/13: Expunge unused declarations a


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7d5c739b 01/13: Expunge unused declarations and macro
Date: Mon, 23 May 2022 17:40:26 -0400 (EDT)

branch: master
commit 7d5c739b7db167362f686b9279c97bb9a30743a9
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Expunge unused declarations and macro
---
 fdlibm_expm1.c | 27 ---------------------------
 fdlibm_log1p.c | 27 ---------------------------
 2 files changed, 54 deletions(-)

diff --git a/fdlibm_expm1.c b/fdlibm_expm1.c
index 1211b0d0..a2c2f3d9 100644
--- a/fdlibm_expm1.c
+++ b/fdlibm_expm1.c
@@ -75,33 +75,6 @@
 #   error Unknown endianness.
 #endif // unknown endianness
 
-#if defined __STDC__
-#   define FDLIBM_PROTOTYPE(p) p
-#else  // !defined __STDC__
-#   define FDLIBM_PROTOTYPE(p) ()
-#endif // !defined __STDC__
-
-/*
- * ANSI/POSIX
- */
-
-extern int signgam;
-
-struct exception {
-    int    type;
-    char*  name;
-    double arg1;
-    double arg2;
-    double retval;
-};
-
-/*
- * ANSI/POSIX
- */
-extern double exp FDLIBM_PROTOTYPE((double));
-
-extern int matherr FDLIBM_PROTOTYPE((struct exception *));
-
 /* @(#)s_expm1.c 1.5 04/04/22 */
 /*
  * ====================================================
diff --git a/fdlibm_log1p.c b/fdlibm_log1p.c
index b4ba84fd..c7edd64d 100644
--- a/fdlibm_log1p.c
+++ b/fdlibm_log1p.c
@@ -73,33 +73,6 @@
 #   error Unknown endianness.
 #endif // unknown endianness
 
-#if defined __STDC__
-#   define FDLIBM_PROTOTYPE(p) p
-#else  // !defined __STDC__
-#   define FDLIBM_PROTOTYPE(p) ()
-#endif // !defined __STDC__
-
-/*
- * ANSI/POSIX
- */
-
-extern int signgam;
-
-struct exception {
-    int    type;
-    char*  name;
-    double arg1;
-    double arg2;
-    double retval;
-};
-
-/*
- * ANSI/POSIX
- */
-extern double exp FDLIBM_PROTOTYPE((double));
-
-extern int matherr FDLIBM_PROTOTYPE((struct exception *));
-
 /* @(#)s_log1p.c 1.3 95/01/18 */
 /*
  * ====================================================



reply via email to

[Prev in Thread] Current Thread [Next in Thread]