Preserve _HIDDEN_VA_LIST when changing VA_LIST to DUMMY_VA_LIST.

Change __va_list to __gnuc_va_list.  For AIX 3.2.5.

From-SVN: r6177
This commit is contained in:
Richard Kenner 1993-12-02 07:06:58 -05:00
parent 00f52f2bcf
commit 0f20ebd10c
1 changed files with 3 additions and 0 deletions

View File

@ -1047,9 +1047,12 @@ 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@ __va_list)@ __gnuc_va_list)@' \
-e 's@_NEED___VA_LIST@_NEED___Va_LIST@' \
-e 's@_HIDDEN_VA_LIST@_HIDDEN_Va_LIST@ \
-e 's@VA_LIST@DUMMY_VA_LIST@' \
-e 's@_NEED___Va_LIST@_NEED___VA_LIST@' \
-e 's@_HIDDEN_Va_LIST@_HIDDEN_VA_LIST@ \
${LIB}/$file >> ${LIB}/${file}.sed
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file