freebsd-dev/usr.bin/top
Eitan Adler 59c50d8277 top(1): several small bugfixes and nits
- initialize all maybe uninitialized vars with bogus values. This shuts
up the compiler, and causes crashes if it changes later.
- mark noreturn as noreturn
- removed unused macro
- handle x_procstate as runtime rather than pre-processor
- avoid using void functions in condtionals

Tested with clang, gcc 7, gcc 9
2018-06-13 00:45:38 +00:00
..
commands.c top(1): remove trailing whitespace 2018-06-12 07:31:59 +00:00
commands.h top(1): move command mapping to commands.c 2018-06-12 06:53:31 +00:00
display.c top(1): several small bugfixes and nits 2018-06-13 00:45:38 +00:00
display.h top(1): include what you use 2018-06-04 04:59:32 +00:00
layout.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
loadavg.h top(1): filter fewer warnings; clean up 2018-06-10 06:21:51 +00:00
machine.c top(1): several small bugfixes and nits 2018-06-13 00:45:38 +00:00
machine.h top(1): style and related 2018-06-12 07:14:12 +00:00
Makefile top(1): several small bugfixes and nits 2018-06-13 00:45:38 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
screen.c top(1): move command mapping to commands.c 2018-06-12 06:53:31 +00:00
screen.h top(1): cleanup memory allocation and warnings 2018-06-02 21:40:45 +00:00
top.1 top(1): initial pass to freebsdize the man page 2018-06-09 21:40:33 +00:00
top.c top(1): several small bugfixes and nits 2018-06-13 00:45:38 +00:00
top.h top(1): remove trailing whitespace 2018-06-12 07:31:59 +00:00
username.c top(1): filter fewer warnings; clean up 2018-06-10 06:21:51 +00:00
username.h top(1): partial revert of r334517 2018-06-03 05:20:11 +00:00
utils.c top(1): remove trailing whitespace 2018-06-12 07:31:59 +00:00
utils.h top(1): style and related 2018-06-12 07:14:12 +00:00