Hi! On Wed, Apr 15, 2020 at 2:11 PM Liu Hao <lh_mo...@126.com> wrote:
> 在 2020/4/15 20:02, Jehan Pagès 写道: > > > > After sending the previous patch, I thought I was a bit lazy and that was > > not cool to you. So I made an additional patch (attached). > > Basically I did a sed like this: > > > > $ sed -i 's/\(^[a-zA-Z0-9]\+ \+[a-zA-Z0-9]\+ *\)( *);/\1(void);/g' > > mingw-w64-headers/include/*.h > > > > The difficulty was to not grep class functions or struct pointers to > > functions so I tried to only grep without space at the line start. But > then > > I had to do some additional manual tweaking to catch some more prototypes > > which were actually indented. Hopefully I did not make any mistake. :-) > > > > > > Ah, many thanks for the patch. I pushed this one. > Sorry I was not clear. These patches were complementary, not a replacement (I should have merged both of them into one or amended the first one, but once again got lazy, I guess). Actually the first one is the most important to me as it was specifically the one which prevented me to build a project. Could you push it too? Thanks! Jehan > > > -- > Best regards, > LH_Mouse > > -- ZeMarmot open animation film http://film.zemarmot.net Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public