- -e 's,;[ ]*//GCC_NORETURN;, GCC_NORETURN;,' \
- -e 's,;[ ]*//GCC_PRINTFLIKE(, GCC_PRINTFLIKE(,' \
- -e 's,;[ ]*//GCC_SCANFLIKE(, GCC_SCANFLIKE(,' \
- -e 's,//\(\<NCURSES_EXPORT_VAR\>\),\1,' \
+ -e 's,;[ ]*//GCC_NORETURN\(.*\);, GCC_NORETURN\1;,' \
+ -e 's,;[ ]*//GCC_PRINTFLIKE(\(.*\);, GCC_PRINTFLIKE(\1;,' \
+ -e 's,;[ ]*//GCC_SCANFLIKE(\(.*\);, GCC_SCANFLIKE(\1;,' \
+ -e 's,;[ ]*//\(.*\), \1;,' \
+ -e 's,[ ][ ]*\<GCC_, GCC_,g' \
+ -e 's,//\(\<NCURSES_EXPORT_VAR\>[ ]*\),\1,' \