Re: List of patches

看板DFBSD_kernel作者時間21年前 (2004/11/08 04:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/11 (看更多)
--Apple-Mail-2--855487753 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 07.11.2004, at 19:57, Douwe Kiela wrote: >>>>> http://leaf.dragonflybsd.org/~virtus/trivial/. >>>>> They all look completely fine to me. I will commit them within an >>>>> hour or so if no objections are recieved. >>>> Was there an style aggrement made on removing all of these void's? >>> Yes, this has been discussed on submit@ a while ago.. Both Joerg >>> and Matt said they could be removed, their email can respectively >>> be found here: >>> http://leaf.dragonflybsd.org/mailarchive/submit/2004-07/msg00152.html >>> and here: >>> http://leaf.dragonflybsd.org/mailarchive/submit/2004-07/msg00173.html >> Makes sense now after I've woken up completely. Removing them also >> adds better code consistency to the project as a whole. > Exactly! This should be changed all over the code really, but right now > every now and then it gets cleaned up. Perhaps if I have time I'll > write up > a shellscript to remove all (void) casts in the tree (where they > should be > removed, of course) and provide a patch. The problem is the > inconsistency in > the way they are casted.. I wouldn't want to risk also removing the > (void) > argument from e.g. usage(void).. I'll probably be able to avoid that > though.. 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... cheers simon -- /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --Apple-Mail-2--855487753 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBjoFvr5S+dk6z85oRAkD9AKD+eUNTmwlvOhwctIYFW2EcTTTZywCdF/gm Tg6f7ok2h49ZXE74uFiLR54= =8F6O -----END PGP SIGNATURE----- --Apple-Mail-2--855487753--
文章代碼(AID): #11ZeP500 (DFBSD_kernel)
文章代碼(AID): #11ZeP500 (DFBSD_kernel)