Eitan Adler eae589f1ce top(1): another pass of cleanup
- 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)
2018-06-03 23:40:54 +00:00
..
2018-06-01 22:57:19 +00:00
2017-10-31 00:07:04 +00:00
2018-01-29 14:15:44 +00:00
2017-10-31 00:07:04 +00:00
2018-05-19 00:26:00 +00:00
2018-01-24 14:24:17 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-05-02 01:32:34 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-04-13 18:04:51 +00:00
2017-10-31 00:07:04 +00:00
2018-04-25 18:56:27 +00:00
2017-10-31 00:07:04 +00:00
2017-12-01 21:44:23 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-04-10 14:44:07 +00:00
2017-10-31 00:07:04 +00:00
2018-06-03 21:40:38 +00:00
2018-03-02 23:31:55 +00:00
2017-11-20 08:52:33 +00:00
2017-10-31 00:07:04 +00:00
2018-04-25 15:39:36 +00:00
2018-04-13 09:04:31 +00:00
2018-01-06 15:52:28 +00:00
2017-12-28 05:33:49 +00:00
2017-10-31 00:07:04 +00:00
2018-01-30 09:59:52 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-12-01 03:22:40 +00:00
2017-10-31 00:07:04 +00:00
2018-02-07 20:36:37 +00:00
2017-12-05 07:11:56 +00:00
2018-05-11 00:01:43 +00:00
2017-10-31 00:07:04 +00:00
2017-12-28 05:33:39 +00:00
2017-12-06 02:47:46 +00:00
2018-05-04 14:39:32 +00:00
2018-03-29 02:13:58 +00:00
2018-04-28 12:24:05 +00:00
2018-06-03 23:40:54 +00:00
2018-05-02 01:17:08 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-05-23 01:20:31 +00:00
2017-06-16 06:29:21 +00:00
2017-06-16 06:29:21 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00