看板 DFBSD_kernel 關於我們 聯絡資訊
On Sun, Nov 07, 2004 at 09:18:06PM +0100, Douwe Kiela wrote: > "Simon 'corecode' Schubert" <corecode@fs.ei.tum.de> schreef: > >should be done by parsing the source files and just removing void > >casts. i'm not experienced, but maybe tendra or lint or something > >similar could be hacked to determine what is a cast and what not... > Yeah but I think it's much easier.. Like Matt said here: > http://leaf.dragonflybsd.org/mailarchive/submit/2004-07/msg00173.html > we can remove all the (void) casts.. Eirikn wrote a small perl script that I > used in a shellscript that removes most of those.. A patch for the bin/ > directory can be found here: > > http://leaf.dragonflybsd.org/~virtus/void-bin.patch > I should never have sent you that oneliner. :-) Commited with a few changes, some needed void casts were also removed with your patch. I fixed this. Thanks! -- Eirik Nygaard