[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 */
/*
* ====================================================
- [lmi-commits] [lmi] master updated (ad1f8a2f -> 599c44b7), Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master 38dd359d 04/13: Apply 'fdlibm*.c' changes to 'fdlibm.h', Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master a456d40d 03/13: Expunge unwanted part of fdlibm header, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master 9d7e3be1 02/13: Import header from fdlibm, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master e5850c2a 12/13: Import Naohiko Shimizu's NetBSD performance improvements, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master bfb73bb2 09/13: Use fdlibm header more broadly, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master 599c44b7 13/13: Draw attention to atrocious type puns, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master 164db076 10/13: Assume __STDC__ for fdlibm, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master 7d5c739b 01/13: Expunge unused declarations and macro,
Greg Chicares <=
- [lmi-commits] [lmi] master d7294669 06/13: Add include guards; include a header required by lmi, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master adf263fe 11/13: Assume __STDC__ everywhere appropriate, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master edb56e9b 05/13: Add license and copyright boilerplate, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master 50b2645a 08/13: Use fdlibm header, Greg Chicares, 2022/05/23
- [lmi-commits] [lmi] master 89966e80 07/13: Rename fdlibm header, Greg Chicares, 2022/05/23