cvs commit: src/sbin/route Makefile extern.h route.c show.c

看板DFBSD_commit作者時間21年前 (2005/03/16 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
cpressey 2005/03/15 20:18:35 PST DragonFly src repository Modified files: sbin/route Makefile extern.h route.c show.c Log: Raise WARNS to 6: - Rename local variables to avoid conflicts with globals; - Make local functions static; - Add missing function prototypes; - Remove stale function prototypes and struct declarations; - Un-nest nested extern declarations; - Constify some char *'s where appropriate; - Resolve comparisons between signed and unsigned; - Copy some strings into work buffers instead of returning a const char * from a function defined to return a char *. Submitted-by: Sepherosa Ziehau <sepherosa_at_softhome_dot_net> Some-tweaks-by: cpressey Revision Changes Path 1.5 +3 -2 src/sbin/route/Makefile 1.3 +10 -6 src/sbin/route/extern.h 1.9 +129 -129 src/sbin/route/route.c 1.4 +25 -21 src/sbin/route/show.c http://www.dragonflybsd.org/cvsweb/src/sbin/route/Makefile.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sbin/route/extern.h.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/sbin/route/route.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sbin/route/show.c.diff?r1=1.3&r2=1.4&f=u
文章代碼(AID): #12DxR900 (DFBSD_commit)