cvs commit: src/sbin/ping6 Makefile ping6.c

看板DFBSD_commit作者時間21年前 (2005/03/06 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
cpressey 2005/03/05 14:27:08 PST DragonFly src repository Modified files: sbin/ping6 Makefile ping6.c Log: Raise WARNS to 6: - Cast sizeof()'s to int where appropriate. - Initialize locals where needed. - Mark unused function arguments as __unused. - Rename some locals to avoid conflicts with globals. - Constify some char *'s. - Only define get_pathmtu() and set_pathmtu() if IPV6_RECVPATHMTU or IPV6_USE_MTU are #defined, respectively. Otherwise, #define them as do-nothing macros. And style(9): - Remove `register' keywords. - Remove #if defined(__OperatingSystem__) conditional compilation. Submitted-by: Pawel Biernacki <kaktus_at_dragonflybsd_dot_pl> Some-tweaks-by: cpressey Revision Changes Path 1.3 +2 -1 src/sbin/ping6/Makefile 1.8 +33 -38 src/sbin/ping6/ping6.c http://www.dragonflybsd.org/cvsweb/src/sbin/ping6/Makefile.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/sbin/ping6/ping6.c.diff?r1=1.7&r2=1.8&f=u
文章代碼(AID): #12AZDc00 (DFBSD_commit)