public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Mass ports updates for math_private.h changes
@ 2012-03-10  0:31 Richard Henderson
  2012-03-10  0:31 ` [PATCH 1/2] Use <> for math.h and math_private.h everywhere Richard Henderson
  2012-03-10  0:31 ` [PATCH 2/2] Use include_next to chain math_private.h headers Richard Henderson
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 2012-03-10  0:31 UTC (permalink / raw)
  To: libc-ports

I had used a script for the ""/<> changes in the main tree
and went ahead and ran it in the ports tree as well.

Both patches committed.


r~



Richard Henderson (2):
  Use <> for math.h and math_private.h everywhere.
  Use include_next to chain math_private.h headers.

 ChangeLog.hppa                          |    4 ++++
 ChangeLog.m68k                          |   12 ++++++++++++
 ChangeLog.tile                          |    5 +++++
 sysdeps/hppa/hppa1.1/s_signbit.c        |    2 +-
 sysdeps/m68k/m680x0/fpu/e_acos.c        |    2 +-
 sysdeps/m68k/m680x0/fpu/e_atan2.c       |    2 +-
 sysdeps/m68k/m680x0/fpu/e_fmod.c        |    2 +-
 sysdeps/m68k/m680x0/fpu/e_pow.c         |    2 +-
 sysdeps/m68k/m680x0/fpu/e_scalb.c       |    2 +-
 sysdeps/m68k/m680x0/fpu/math_private.h  |    2 +-
 sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c |    2 +-
 sysdeps/m68k/m680x0/fpu/s_llrint.c      |    2 +-
 sysdeps/m68k/m680x0/fpu/s_llrintf.c     |    2 +-
 sysdeps/m68k/m680x0/fpu/s_llrintl.c     |    2 +-
 sysdeps/m68k/m680x0/fpu/s_nextafterl.c  |    4 ++--
 sysdeps/tile/math_private.h             |    2 +-
 16 files changed, 35 insertions(+), 14 deletions(-)

-- 
1.7.7.6

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] Use <> for math.h and math_private.h everywhere.
  2012-03-10  0:31 [PATCH 0/2] Mass ports updates for math_private.h changes Richard Henderson
@ 2012-03-10  0:31 ` Richard Henderson
  2012-03-10  0:31 ` [PATCH 2/2] Use include_next to chain math_private.h headers Richard Henderson
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2012-03-10  0:31 UTC (permalink / raw)
  To: libc-ports

Entire tree edited via find | grep | sed.
---
 ChangeLog.hppa                          |    4 ++++
 ChangeLog.m68k                          |    9 +++++++++
 sysdeps/hppa/hppa1.1/s_signbit.c        |    2 +-
 sysdeps/m68k/m680x0/fpu/e_acos.c        |    2 +-
 sysdeps/m68k/m680x0/fpu/e_atan2.c       |    2 +-
 sysdeps/m68k/m680x0/fpu/e_fmod.c        |    2 +-
 sysdeps/m68k/m680x0/fpu/e_pow.c         |    2 +-
 sysdeps/m68k/m680x0/fpu/e_scalb.c       |    2 +-
 sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c |    2 +-
 sysdeps/m68k/m680x0/fpu/s_llrint.c      |    2 +-
 sysdeps/m68k/m680x0/fpu/s_llrintf.c     |    2 +-
 sysdeps/m68k/m680x0/fpu/s_llrintl.c     |    2 +-
 sysdeps/m68k/m680x0/fpu/s_nextafterl.c  |    4 ++--
 13 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/ChangeLog.hppa b/ChangeLog.hppa
index 722f647..5271475 100644
--- a/ChangeLog.hppa
+++ b/ChangeLog.hppa
@@ -1,3 +1,7 @@
+2012-03-09  Richard Henderson  <rth@twiddle.net>
+
+	* sysdeps/hppa/hppa1.1/s_signbit.c: Use <> to include math_private.h.
+
 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
 
 	[BZ #13673]
diff --git a/ChangeLog.m68k b/ChangeLog.m68k
index e78d1a7..187dd68 100644
--- a/ChangeLog.m68k
+++ b/ChangeLog.m68k
@@ -1,3 +1,12 @@
+2012-03-09  Richard Henderson  <rth@twiddle.net>
+
+	* m68k/m680x0/fpu/e_acos.c: Use <> to include math_private.h.
+	* m68k/m680x0/fpu/e_atan2.c, m68k/m680x0/fpu/e_fmod.c: Likewise.
+	* m68k/m680x0/fpu/e_pow.c, m68k/m680x0/fpu/e_scalb.c: Likewise.
+	* m68k/m680x0/fpu/s_fpclassifyl.c, m68k/m680x0/fpu/s_llrint.c: Likewise.
+	* m68k/m680x0/fpu/s_llrintf.c, m68k/m680x0/fpu/s_llrintl.c: Likewise.
+	* m68k/m680x0/fpu/s_nextafterl.c: Likewise.
+
 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
 
 	[BZ #13673]
diff --git a/sysdeps/hppa/hppa1.1/s_signbit.c b/sysdeps/hppa/hppa1.1/s_signbit.c
index b762ab6..3e298a2 100644
--- a/sysdeps/hppa/hppa1.1/s_signbit.c
+++ b/sysdeps/hppa/hppa1.1/s_signbit.c
@@ -19,7 +19,7 @@
 
 #include <math.h>
 
-#include "math_private.h"
+#include <math_private.h>
 
 int
 __signbit (double x)
diff --git a/sysdeps/m68k/m680x0/fpu/e_acos.c b/sysdeps/m68k/m680x0/fpu/e_acos.c
index c662fe2..f8a0a35 100644
--- a/sysdeps/m68k/m680x0/fpu/e_acos.c
+++ b/sysdeps/m68k/m680x0/fpu/e_acos.c
@@ -16,7 +16,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
-#include "math_private.h"
+#include <math_private.h>
 #include "mathimpl.h"
 
 #ifndef	FUNC
diff --git a/sysdeps/m68k/m680x0/fpu/e_atan2.c b/sysdeps/m68k/m680x0/fpu/e_atan2.c
index f84fab3..b0742d3 100644
--- a/sysdeps/m68k/m680x0/fpu/e_atan2.c
+++ b/sysdeps/m68k/m680x0/fpu/e_atan2.c
@@ -16,7 +16,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
-#include "math_private.h"
+#include <math_private.h>
 #include "mathimpl.h"
 
 #ifndef SUFF
diff --git a/sysdeps/m68k/m680x0/fpu/e_fmod.c b/sysdeps/m68k/m680x0/fpu/e_fmod.c
index dacd1a2..671e3b8 100644
--- a/sysdeps/m68k/m680x0/fpu/e_fmod.c
+++ b/sysdeps/m68k/m680x0/fpu/e_fmod.c
@@ -16,7 +16,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
-#include "math_private.h"
+#include <math_private.h>
 #include "mathimpl.h"
 
 #ifndef FUNC
diff --git a/sysdeps/m68k/m680x0/fpu/e_pow.c b/sysdeps/m68k/m680x0/fpu/e_pow.c
index cab2012..41e28d0 100644
--- a/sysdeps/m68k/m680x0/fpu/e_pow.c
+++ b/sysdeps/m68k/m680x0/fpu/e_pow.c
@@ -16,7 +16,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
-#include "math_private.h"
+#include <math_private.h>
 #include "mathimpl.h"
 
 #ifndef SUFF
diff --git a/sysdeps/m68k/m680x0/fpu/e_scalb.c b/sysdeps/m68k/m680x0/fpu/e_scalb.c
index 694b66e..db49fdf 100644
--- a/sysdeps/m68k/m680x0/fpu/e_scalb.c
+++ b/sysdeps/m68k/m680x0/fpu/e_scalb.c
@@ -17,7 +17,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
-#include "math_private.h"
+#include <math_private.h>
 #include "mathimpl.h"
 
 #ifndef SUFF
diff --git a/sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c b/sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c
index 23bd0b7..ace6436 100644
--- a/sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c
+++ b/sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c
@@ -20,7 +20,7 @@
 
 #include <math.h>
 
-#include "math_private.h"
+#include <math_private.h>
 
 
 int
diff --git a/sysdeps/m68k/m680x0/fpu/s_llrint.c b/sysdeps/m68k/m680x0/fpu/s_llrint.c
index 3166b9f..0952ccd 100644
--- a/sysdeps/m68k/m680x0/fpu/s_llrint.c
+++ b/sysdeps/m68k/m680x0/fpu/s_llrint.c
@@ -19,7 +19,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
-#include "math_private.h"
+#include <math_private.h>
 #include "mathimpl.h"
 
 long long int
diff --git a/sysdeps/m68k/m680x0/fpu/s_llrintf.c b/sysdeps/m68k/m680x0/fpu/s_llrintf.c
index 7460f17..dd5b95c 100644
--- a/sysdeps/m68k/m680x0/fpu/s_llrintf.c
+++ b/sysdeps/m68k/m680x0/fpu/s_llrintf.c
@@ -19,7 +19,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
-#include "math_private.h"
+#include <math_private.h>
 #include "mathimpl.h"
 
 long long int
diff --git a/sysdeps/m68k/m680x0/fpu/s_llrintl.c b/sysdeps/m68k/m680x0/fpu/s_llrintl.c
index 8b77626..fbe66ee 100644
--- a/sysdeps/m68k/m680x0/fpu/s_llrintl.c
+++ b/sysdeps/m68k/m680x0/fpu/s_llrintl.c
@@ -19,7 +19,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <math.h>
-#include "math_private.h"
+#include <math_private.h>
 #include "mathimpl.h"
 
 long long int
diff --git a/sysdeps/m68k/m680x0/fpu/s_nextafterl.c b/sysdeps/m68k/m680x0/fpu/s_nextafterl.c
index dcccdf1..9a03b78 100644
--- a/sysdeps/m68k/m680x0/fpu/s_nextafterl.c
+++ b/sysdeps/m68k/m680x0/fpu/s_nextafterl.c
@@ -26,8 +26,8 @@ static char rcsid[] = "$NetBSD: $";
  *   Special cases:
  */
 
-#include "math.h"
-#include "math_private.h"
+#include <math.h>
+#include <math_private.h>
 
 long double __nextafterl(long double x, long double y)
 {
-- 
1.7.7.6

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] Use include_next to chain math_private.h headers.
  2012-03-10  0:31 [PATCH 0/2] Mass ports updates for math_private.h changes Richard Henderson
  2012-03-10  0:31 ` [PATCH 1/2] Use <> for math.h and math_private.h everywhere Richard Henderson
@ 2012-03-10  0:31 ` Richard Henderson
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Henderson @ 2012-03-10  0:31 UTC (permalink / raw)
  To: libc-ports

---
 ChangeLog.m68k                         |    3 +++
 ChangeLog.tile                         |    5 +++++
 sysdeps/m68k/m680x0/fpu/math_private.h |    2 +-
 sysdeps/tile/math_private.h            |    2 +-
 4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog.m68k b/ChangeLog.m68k
index 187dd68..70559a5 100644
--- a/ChangeLog.m68k
+++ b/ChangeLog.m68k
@@ -1,5 +1,8 @@
 2012-03-09  Richard Henderson  <rth@twiddle.net>
 
+	* sysdeps/m68k/m680x0/fpu/math_private.h: Use include_next to
+	chain math_private.h.
+
 	* m68k/m680x0/fpu/e_acos.c: Use <> to include math_private.h.
 	* m68k/m680x0/fpu/e_atan2.c, m68k/m680x0/fpu/e_fmod.c: Likewise.
 	* m68k/m680x0/fpu/e_pow.c, m68k/m680x0/fpu/e_scalb.c: Likewise.
diff --git a/ChangeLog.tile b/ChangeLog.tile
index 6241968..b48d614 100644
--- a/ChangeLog.tile
+++ b/ChangeLog.tile
@@ -1,3 +1,8 @@
+2012-03-09  Richard Henderson  <rth@twiddle.net>
+
+	* sysdeps/tile/math_private.h: Use include_next to
+	chain math_private.h.
+
 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
 
 	[BZ #13673]
diff --git a/sysdeps/m68k/m680x0/fpu/math_private.h b/sysdeps/m68k/m680x0/fpu/math_private.h
index 3793cff..217de2e 100644
--- a/sysdeps/m68k/m680x0/fpu/math_private.h
+++ b/sysdeps/m68k/m680x0/fpu/math_private.h
@@ -15,5 +15,5 @@ do							\
   }							\
 while (0)
 
-#include <math/math_private.h>
+#include_next <math_private.h>
 #endif
diff --git a/sysdeps/tile/math_private.h b/sysdeps/tile/math_private.h
index ea4c8ea..2dab42b 100644
--- a/sysdeps/tile/math_private.h
+++ b/sysdeps/tile/math_private.h
@@ -1,6 +1,6 @@
 #ifndef _MATH_PRIVATE_H
 
-#include <math/math_private.h>
+#include_next <math_private.h>
 
 /* We have no exception support, so feraiseexcept() must be a no-op.
    And since we don't define FE_INVALID, FE_DIVBYZERO, etc., we
-- 
1.7.7.6

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-10  0:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-10  0:31 [PATCH 0/2] Mass ports updates for math_private.h changes Richard Henderson
2012-03-10  0:31 ` [PATCH 1/2] Use <> for math.h and math_private.h everywhere Richard Henderson
2012-03-10  0:31 ` [PATCH 2/2] Use include_next to chain math_private.h headers Richard Henderson

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).