freebsd-nq/usr.bin/top
Eitan Adler bfb79c2ccc top(1): modernize a bit; reduce warnings
- Replace caddr_t with "void *". This reduces
the number of warnings at WARNS=6
- use "static" where possible
- sprinkle const where possible

This leaves at WARNS=6:
35 warnings in top.c
72 warnings in machine.c
5 warnings in commands.c

all of which are either "incompatible-pointer-types-discards-qualifiers"
or "cast-qual"
2018-05-21 09:18:01 +00:00
..
boolean.h
commands.c top(1): modernize a bit; reduce warnings 2018-05-21 09:18:01 +00:00
commands.h
display.c top(1): modernize a bit; reduce warnings 2018-05-21 09:18:01 +00:00
display.h top(1): further unconditionally assume we're on FreeBSD 2018-05-21 04:02:45 +00:00
layout.h
loadavg.h top(1): fix MIPS 2018-05-21 04:47:13 +00:00
machine.c top(1): modernize a bit; reduce warnings 2018-05-21 09:18:01 +00:00
machine.h top(1): modernize a bit; reduce warnings 2018-05-21 09:18:01 +00:00
Makefile top(1): modernize a bit; reduce warnings 2018-05-21 09:18:01 +00:00
Makefile.depend
screen.c top(1): modernize a bit; reduce warnings 2018-05-21 09:18:01 +00:00
screen.h top(1): clean much of WARNS=3 issues 2018-05-21 00:53:42 +00:00
sigconv.awk top(1): fix "variable without declaration" warning 2018-05-21 01:05:32 +00:00
top.1 top(1): add getrusage to SEE also 2018-05-21 00:20:32 +00:00
top.c top(1): modernize a bit; reduce warnings 2018-05-21 09:18:01 +00:00
top.h top(1): modernize a bit; reduce warnings 2018-05-21 09:18:01 +00:00
username.c top(1): modernize a bit; reduce warnings 2018-05-21 09:18:01 +00:00
username.h top(1): add myself as a MAINTAIENR 2018-05-21 05:00:19 +00:00
utils.c top(1): add myself as a MAINTAIENR 2018-05-21 05:00:19 +00:00
utils.h top(1): Quiesce several warnings 2018-05-20 02:14:27 +00:00