freebsd-dev/usr.bin/top
Eitan Adler 4fedcd4983 top(1): cleanup memory allocation and warnings
- Prefer calloc over malloc. This is more predicable and we're not in a
performance sensitive context. [1]
- Remove bogus comment (obsolete from prior commit). [2]
- Remove void casts and type casts of NULL
- Remove redundant declaration of 'quit'
- Add additional const

Reported by:	kib [1], vangyzen [2]
2018-06-02 21:40:45 +00:00
..
commands.c top: add -p option and p command to only show a single process 2018-06-02 15:52:18 +00:00
commands.h top(1): Migrate top to usr.bin 2018-05-19 22:40:23 +00:00
display.c top(1): cleanup memory allocation and warnings 2018-06-02 21:40:45 +00:00
display.h top(1): const poison part 2 2018-06-02 07:44:50 +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): cleanup memory allocation and warnings 2018-06-02 21:40:45 +00:00
machine.h top: add -p option and p command to only show a single process 2018-06-02 15:52:18 +00:00
Makefile top(1): fix build 2018-05-21 09:43:50 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
screen.c top(1): cleanup memory allocation and warnings 2018-06-02 21:40:45 +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: add -p option and p command to only show a single process 2018-06-02 15:52:18 +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): Use uid_t for uid rather than 'int' 2018-06-02 03:54:50 +00:00
username.h top(1): Use uid_t for uid rather than 'int' 2018-06-02 03:54:50 +00:00
utils.c top(1): cleanup memory allocation and warnings 2018-06-02 21:40:45 +00:00
utils.h top: add -p option and p command to only show a single process 2018-06-02 15:52:18 +00:00