summaryrefslogtreecommitdiff
path: root/gcc/fixincludes
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fixincludes')
-rwxr-xr-xgcc/fixincludes6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 8c5843ae20b..2458a931555 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -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@' \