freebsd-skq/contrib
Enji Cooper 96331b7705 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
..
amd Mark amd(8) and all related utilities as obsolete. 2016-02-29 16:45:10 +00:00
apr
apr-util
atf atf map: Fix double-free in low memory error path 2016-05-11 23:39:39 +00:00
binutils gas: Implement the .inst assembler directive for arm. 2016-05-20 20:01:10 +00:00
bmake Merge bmake-20160512 2016-05-20 17:35:39 +00:00
bsnmp Revert r299830, it has couple of fatal errors. 2016-05-18 22:02:19 +00:00
byacc Merge byacc 20160324. 2016-03-25 22:32:26 +00:00
bzip2
com_err
compiler-rt Update compiler-rt to release_38 branch r261369. 2016-02-21 16:27:55 +00:00
dialog
diff
dma
dtc
ee
elftoolchain elftoolchain: backwards compatability for ELFOSABI_CLOUDABI definition 2016-05-21 15:38:40 +00:00
expat
file MFV r299716: file 5.27 2016-05-14 08:52:37 +00:00
flex
gcc GCC: Add support for named initializers for anonymous structs/unions. 2016-05-20 18:01:53 +00:00
gcclibs
gdb Fix KGDB backtrace on ARM 2016-04-20 17:58:13 +00:00
gdtoa
gperf
groff Add SUSv4 reference macro to our groff mdoc. mdocml already supports it. 2016-05-17 09:24:54 +00:00
hyperv/tools hyperv/kvp_daemon: Make poll(2) block indefinitely 2016-01-11 03:30:16 +00:00
ipfilter Fix another typo. 2016-05-19 03:18:54 +00:00
jemalloc Work around invalid gcc warning (explicit cast apparently lost). 2016-05-13 21:18:10 +00:00
ldns
ldns-host
less MFV r293125: less v481. 2016-01-05 05:25:16 +00:00
libarchive Revert r299576 and MFV r299895: 2016-05-16 05:01:44 +00:00
libbegemot
libc-pwcache
libc-vis
libc++ Pull in r255683 from upstream libc++ trunk (by Eric Fiselier): 2016-03-27 21:20:43 +00:00
libcxxrt Import libcxxrt master 516a65c109eb0a01e5e95fbef455eb3215135cef. 2016-05-05 22:40:07 +00:00
libexecinfo backtrace.3: Fix prototype of backtrace_symbols_fd_fmt(). 2015-12-22 22:40:42 +00:00
libgnuregex
libpcap libpcap: fix for simple NULL pointer dereference. 2016-04-14 18:31:45 +00:00
libreadline
libstdc++
libucl Import libucl 0.8.0 2016-04-17 21:30:40 +00:00
libxo Import to 0.6.1 2016-04-15 18:46:15 +00:00
llvm Pull in r270240 from upstream clang trunk (by me): 2016-05-20 17:38:45 +00:00
mdocml Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
mknod
mtree
ncurses DIRDEPS_BUILD: Run the staged bootstrap-tools version of build-tools. 2016-05-09 22:21:09 +00:00
netbsd-tests Remove brk and sbrk from arm64. They were defined in The Single UNIX 2016-05-20 15:04:48 +00:00
netcat
ngatm
ntp MFV r298691: 2016-04-27 07:46:38 +00:00
nvi
ofed Make GCC happy by removing empty #elif. 2016-03-25 04:16:04 +00:00
one-true-awk
openbsm Regenerate config.h for OpenBSM 1.2 alpha 4. 2015-12-18 09:49:11 +00:00
openpam
openresolv MFV r296350: 2016-03-03 15:36:00 +00:00
opie
pam_modules/pam_passwdqc
pf Rename getline with get_line to avoid collision with getline(3) 2016-05-10 11:09:26 +00:00
pjdfstest Better handle filesystems mounted with -o noexec 2016-03-12 19:41:38 +00:00
pnpinfo
sendmail
serf
smbfs Add #include <string.h> to mute warning from clang/gcc about implicitly 2016-02-01 07:09:08 +00:00
sqlite3 Import sqlite3 3.12.1 2016-04-17 21:23:14 +00:00
subversion Re-sync the FreeBSD-specific Subversion template with the one from 2016-05-03 18:06:42 +00:00
tcp_wrappers
tcpdump Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
tcsh
telnet
tnftp
top Silence top(1) compiler warnings 2016-05-22 04:17:00 +00:00
traceroute
tzcode
tzdata
unbound Apply upstream r3651: the IPv6 address of the L root has changed. 2016-03-11 14:57:40 +00:00
unvis
vis
wpa [wpa] use IFM_IEEE80211_ADHOC for now on FreeBSD for IBSS operation. 2015-11-26 17:28:40 +00:00
xz