0d7f83c56e
- avoid the need to call a function to get size of known array. I'll likely re-arrange some of the indirect in a later to avoid the magic constants. - use correct type - add const - replace caddr_t with void*. This corrects an alignment warning. - remove duplicated include from immediately prior commit Under base clang we're now down to: - 3 warning in top.c, 1 warning in mahcine.c, 4 warning in display.c, - 1 warning in utils.c Tested with base clang, gcc7, gcc9, base gcc (mips) |
||
---|---|---|
.. | ||
commands.c | ||
commands.h | ||
display.c | ||
display.h | ||
layout.h | ||
loadavg.h | ||
machine.c | ||
machine.h | ||
Makefile | ||
Makefile.depend | ||
screen.c | ||
screen.h | ||
sigconv.awk | ||
top.1 | ||
top.c | ||
top.h | ||
username.c | ||
username.h | ||
utils.c | ||
utils.h |