public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Remove alpha math_private.h [committed]
@ 2018-09-05 12:43 Joseph Myers
  0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2018-09-05 12:43 UTC (permalink / raw)
  To: libc-alpha

After some math_private.h cleanups (in particulat math-barriers.h
being split out), the only thing left in the alpha math_private.h was
macro definitions of __isnan and __isnanf, apparently (based on the
comments) intended to avoid problems with inline definitions in other
math_private.h files.  Those inline definitions were removed in commit
fe8c2b33aed067282ecac0cc3fdff1feef88548b, and the alpha math_private.h
is no longer needed; this patch removes it.

Tested with build-many-glibcs.py that installed stripped shared
libraries for alpha are unchanged by the patch.  Committed.

2018-09-05  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/alpha/fpu/math_private.h: Remove.

diff --git a/sysdeps/alpha/fpu/math_private.h b/sysdeps/alpha/fpu/math_private.h
deleted file mode 100644
index c71447abf0..0000000000
--- a/sysdeps/alpha/fpu/math_private.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef ALPHA_MATH_PRIVATE_H
-#define ALPHA_MATH_PRIVATE_H 1
-
-/* In bits/mathinline.h we define __isnan et al.
-   In sysdeps/alpha/fpu/s_isnan.c we move the identifier out of the way
-   via macro hackery.  In both cases, tell math/math_private.h that
-   we have a local copy of the function.  */
-
-#ifndef __isnan
-# define __isnan  __isnan
-#endif
-#ifndef __isnanf
-# define __isnanf __isnanf
-#endif
-
-#include_next <math_private.h>
-
-#endif /* ALPHA_MATH_PRIVATE_H */

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-05 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05 12:43 Remove alpha math_private.h [committed] Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).