git: AMD64 - Refactor the 'top' program.

看板DFBSD_commit作者時間16年前 (2009/08/21 19:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b552171b10e3b71b8e22c7689ea60da032d3299a Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Aug 21 03:44:00 2009 -0700 AMD64 - Refactor the 'top' program. * Ansify pretty much the whole thing. The 64-bit build simply will break and break and break with K&R style declarations. * Fix misc other issues with curses. Summary of changes: contrib/top/boolean.h | 1 - contrib/top/commands.c | 98 +++++++--------- contrib/top/commands.h | 13 ++ contrib/top/display.c | 301 ++++++++++++++++++++---------------------------- contrib/top/display.h | 28 +++++ contrib/top/machine.h | 19 ++-- contrib/top/screen.c | 194 +++++-------------------------- contrib/top/screen.h | 13 ++- contrib/top/top.c | 160 ++++++++++--------------- contrib/top/top.h | 6 +- contrib/top/username.c | 45 +++---- contrib/top/username.h | 8 ++ contrib/top/utils.c | 154 +++++++++---------------- contrib/top/utils.h | 38 +++++-- contrib/top/version.c | 6 +- usr.bin/top/Makefile | 1 + usr.bin/top/machine.c | 148 ++++++++++++++---------- usr.bin/top/sigdesc.h | 66 ++++++------ 18 files changed, 551 insertions(+), 748 deletions(-) create mode 100644 contrib/top/commands.h create mode 100644 contrib/top/username.h http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b552171b10e3b71b8e22c7689ea60da032d3299a -- DragonFly BSD source repository
文章代碼(AID): #1AZdvsOj (DFBSD_commit)