freebsd-dev/usr.bin/top
Eitan Adler 9f8096e339 top(1): top warnings and cleanup
- Add const where helpful
- add missing 'static' for file-local functions
- use nitems where possible
- convert manual abort() to assert
- use strndup instead of homegrown version

Tested with clang, gcc7, and gcc9
2018-06-03 22:42:54 +00:00
..
commands.c top(1): misc minor improvements 2018-06-03 02:58:53 +00:00
commands.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
display.c top(1): top warnings and cleanup 2018-06-03 22:42:54 +00:00
display.h top(1): top warnings and cleanup 2018-06-03 22:42:54 +00:00
layout.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
loadavg.h top(1): fix MIPS 2018-05-21 04:47:13 +00:00
machine.c top(1): top warnings and cleanup 2018-06-03 22:42:54 +00:00
machine.h top(1): top warnings and cleanup 2018-06-03 22:42:54 +00:00
Makefile top(1): Only use NO_WERROR for base gcc 2018-06-03 06:02:31 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
screen.c top(1): Fix two speeling errors I introduced 2018-06-02 22:12:57 +00:00
screen.h top(1): cleanup memory allocation and warnings 2018-06-02 21:40:45 +00:00
sigconv.awk top(1): fix "variable without declaration" warning 2018-05-21 01:05:32 +00:00
top.1 top: add -p option and p command to only show a single process 2018-06-02 15:52:18 +00:00
top.c top(1): top warnings and cleanup 2018-06-03 22:42:54 +00:00
top.h top: add -p option and p command to only show a single process 2018-06-02 15:52:18 +00:00
username.c top(1): partial revert of r334517 2018-06-03 05:20:11 +00:00
username.h top(1): partial revert of r334517 2018-06-03 05:20:11 +00:00
utils.c top(1): top warnings and cleanup 2018-06-03 22:42:54 +00:00
utils.h top(1): partial revert of r334517 2018-06-03 05:20:11 +00:00