ngie 0378533250 Silence top(1) compiler warnings
The contrib/top code is no longer maintained upstream (last pulled 16 years
ago). The K&R-style followed by the code spews -Wimplicit-int and -Wreturn-type
warnings, amongst others. This silences 131 warnings with as little modification
as possible by adding necessary return types, definitions, headers, and header
guards, and missing header includes.

The 5 warnings that remain are due to undeclared ncurses references. I didn't
include curses.h and term.h because there are several local functions and macros
that conflict with those definitions.

MFC after: 3 weeks
Reviewed by: cem, ngie
Submitted by: Randy Westlund <rwestlun@gmail.com>
Differential Revision: https://reviews.freebsd.org/D6468
2016-05-22 04:17:00 +00:00
..
2015-08-09 05:14:25 +00:00
2016-05-20 17:35:39 +00:00
2016-03-25 22:32:26 +00:00
2014-12-26 07:36:42 +00:00
2015-10-11 17:45:20 +00:00
2016-05-14 08:52:37 +00:00
2016-04-20 17:58:13 +00:00
2016-05-19 03:18:54 +00:00
2016-01-05 05:25:16 +00:00
2016-04-17 21:30:40 +00:00
2016-04-15 18:46:15 +00:00
2015-09-27 07:04:16 +00:00
2016-04-27 07:46:38 +00:00
2016-03-03 15:36:00 +00:00
2016-04-17 21:23:14 +00:00
2016-05-22 04:17:00 +00:00
2015-10-08 11:42:15 +00:00
2015-11-12 03:25:04 +00:00
2015-01-03 23:16:13 +00:00
2015-11-21 09:09:25 +00:00