]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fixincludes (va_list): Use __not_va_list__ for the dummy.
authorJason Merrill <jason@yorick.cygnus.com>
Fri, 14 Jan 2000 01:46:49 +0000 (01:46 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 14 Jan 2000 01:46:49 +0000 (20:46 -0500)
* fixincludes (va_list): Use __not_va_list__ for the dummy.
* fixinc/*: Likewise.

From-SVN: r31401

gcc/ChangeLog
gcc/fixinc/fixinc.irix
gcc/fixinc/fixinc.ptx
gcc/fixinc/inclhack.def
gcc/fixinc/inclhack.sh
gcc/fixincludes

index 78de29041db73a20255c2839764e428d4680cac0..d1ff7358ef6784a91cda7aae35f78c95aee593d7 100644 (file)
@@ -1,3 +1,8 @@
+2000-01-13  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * fixincludes (va_list): Use __not_va_list__ for the dummy.
+       * fixinc/*: Likewise.
+
 2000-01-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * cccp.c: PROTO -> PARAMS.
index 24a045afbda716ce0f05e1793bf0bb4669877698..a6ddc0c590483ae8b02372709b618927e3273a91 100755 (executable)
@@ -255,8 +255,8 @@ if [ \! -z "$file_to_fix" ]; then
       -e 's@ va_list)@ __gnuc_va_list)@' \
       -e 's@ _BSD_VA_LIST_))@ __gnuc_va_list))@' \
       -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \
-      -e 's@ va_list@ __va_list__@' \
-      -e 's@\*va_list@*__va_list__@' \
+      -e 's@ va_list@ __not_va_list__@' \
+      -e 's@\*va_list@*__not_va_list__@' \
       -e 's@ __va_list)@ __gnuc_va_list)@' \
       -e 's@GNUC_VA_LIST@GNUC_Va_LIST@' \
       -e 's@_NEED___VA_LIST@_NEED___Va_LIST@' \
index c205e217d3636bfbbd3ea908a8b5a45834c85434..88518bebbcb4ccf3bf4964730aeaae9364e150af 100644 (file)
@@ -96,13 +96,13 @@ if [ -r ${LIB}/$file ]; then
   # Use __gnuc_va_list in arg types in place of va_list.
   # On 386BSD use __gnuc_va_list instead of _VA_LIST_. We're hoping the
   # trailing parentheses and semicolon save all other systems from this.
-  # Define __va_list__ (something harmless and unused) instead of va_list.
+  # Define __not_va_list__ (something harmless and unused) instead of va_list.
   # Don't claim to have defined va_list.
   sed -e 's@ va_list @ __gnuc_va_list @' \
       -e 's@ va_list)@ __gnuc_va_list)@' \
       -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \
-      -e 's@ va_list@ __va_list__@' \
-      -e 's@\*va_list@*__va_list__@' \
+      -e 's@ va_list@ __not_va_list__@' \
+      -e 's@\*va_list@*__not_va_list__@' \
       -e 's@ __va_list)@ __gnuc_va_list)@' \
       -e 's@_NEED___VA_LIST@_NEED___Va_LIST@' \
       -e 's@VA_LIST@DUMMY_VA_LIST@' \
index 25f99ece0911c95e2b2d960129387c71b2959719..d83ac73386f6285e362591ca84baba289cd9e4a8 100644 (file)
@@ -1743,7 +1743,7 @@ fix = {
      * Use __gnuc_va_list in arg types in place of va_list.
      * On 386BSD use __gnuc_va_list instead of _VA_LIST_.  We're hoping the
      * trailing parentheses and semicolon save all other systems from this.
-     * Define __va_list__ (something harmless and unused) instead of va_list.
+     * Define __not_va_list__ (something harmless and unused) instead of va_list.
      * Don't claim to have defined va_list.
      */
     shell =
@@ -1758,8 +1758,8 @@ fix = {
       -e 's@ va_list)@ __gnuc_va_list)@' \\
       -e 's@ _BSD_VA_LIST_))@ __gnuc_va_list))@' \\
       -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \\
-      -e 's@ va_list@ __va_list__@' \\
-      -e 's@\\*va_list@*__va_list__@' \\
+      -e 's@ va_list@ __not_va_list__@' \\
+      -e 's@\\*va_list@*__not_va_list__@' \\
       -e 's@ __va_list)@ __gnuc_va_list)@' \\
       -e 's@GNUC_VA_LIST@GNUC_Va_LIST@' \\
       -e 's@_NEED___VA_LIST@_NEED___Va_LIST@' \\
index 0dcc3a4636c0e6afec3c4ba4a523829b7c0622dc..29b255461b261e5345af2569d61a14a9a42ee317 100755 (executable)
@@ -2504,8 +2504,8 @@ typedef __regmatch_t      regmatch_t;
       -e 's@ va_list)@ __gnuc_va_list)@' \
       -e 's@ _BSD_VA_LIST_))@ __gnuc_va_list))@' \
       -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \
-      -e 's@ va_list@ __va_list__@' \
-      -e 's@\*va_list@*__va_list__@' \
+      -e 's@ va_list@ __not_va_list__@' \
+      -e 's@\*va_list@*__not_va_list__@' \
       -e 's@ __va_list)@ __gnuc_va_list)@' \
       -e 's@GNUC_VA_LIST@GNUC_Va_LIST@' \
       -e 's@_NEED___VA_LIST@_NEED___Va_LIST@' \
index 8c5843ae20b4c328d47f2581e9a28c8236e5bb45..2458a93155592be97bb09bd8356d69ba8aaed562 100755 (executable)
@@ -1798,14 +1798,14 @@ if [ -r ${LIB}/$file ]; then
   # Use __gnuc_va_list in arg types in place of va_list.
   # On 386BSD use __gnuc_va_list instead of _VA_LIST_. We're hoping the
   # trailing parentheses and semicolon save all other systems from this.
-  # Define __va_list__ (something harmless and unused) instead of va_list.
+  # Define __not_va_list__ (something harmless and unused) instead of va_list.
   # Don't claim to have defined va_list.
   sed -e 's@ va_list @ __gnuc_va_list @' \
       -e 's@ va_list)@ __gnuc_va_list)@' \
       -e 's@ _BSD_VA_LIST_));@ __gnuc_va_list));@' \
       -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \
-      -e 's@ va_list@ __va_list__@' \
-      -e 's@\*va_list@*__va_list__@' \
+      -e 's@ va_list@ __not_va_list__@' \
+      -e 's@\*va_list@*__not_va_list__@' \
       -e 's@ __va_list)@ __gnuc_va_list)@' \
       -e 's@GNUC_VA_LIST@GNUC_Va_LIST@' \
       -e 's@_NEED___VA_LIST@_NEED___Va_LIST@' \