diff options
author | Richard Stallman <rms@gnu.org> | 1993-06-28 18:58:14 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-06-28 18:58:14 +0000 |
commit | 75d98655110e239222148fca99ead13e82185b24 (patch) | |
tree | 79465f000146c02eccee23da2c4cdb8df9e4ae98 | |
parent | fcbb4777301c5bbaf4b71952808de04e9055b456 (diff) | |
download | gcc-75d98655110e239222148fca99ead13e82185b24.zip gcc-75d98655110e239222148fca99ead13e82185b24.tar.gz gcc-75d98655110e239222148fca99ead13e82185b24.tar.bz2 |
(file): When changing VA_LIST to DUMMY_VA_LIST, preserve _NEED___VA_LIST.
From-SVN: r4791
-rwxr-xr-x | gcc/fixincludes | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes index 13a493b..5a66c9d 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -960,7 +960,9 @@ if [ -r ${LIB}/$file ]; then -e 's@ _VA_LIST_));@ __gnuc_va_list));@' \ -e 's@ va_list@ __va_list__@' \ -e 's@\*va_list@*__va_list__@' \ + -e 's@_NEED___VA_LIST@_NEED___Va_LIST@' \ -e 's@VA_LIST@DUMMY_VA_LIST@' \ + -e 's@_NEED___Va_LIST@_NEED___VA_LIST@' \ ${LIB}/$file >> ${LIB}/${file}.sed rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file |