freebsd-skq/contrib
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
..
amd Mark amd(8) and all related utilities as obsolete. 2016-02-29 16:45:10 +00:00
apr Update apr-1.5.1 to 1.5.2 2015-08-09 05:14:25 +00:00
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 Remove unknown macro 2014-12-26 07:36:42 +00:00
com_err
compiler-rt Update compiler-rt to release_38 branch r261369. 2016-02-21 16:27:55 +00:00
dialog
diff Fix the wrong format, format specifies type 'int' but the argument has type 2015-06-01 06:14:17 +00:00
dma Fix build with gcc 4.2 2015-10-11 17:45:20 +00:00
dtc Silence clang warning about extraneous parenthesis 2015-06-05 17:18:10 +00:00
ee Fix minor syntax and grammar errors in the markup of the ee(1) man page 2015-01-18 17:25:41 +00:00
elftoolchain elftoolchain: backwards compatability for ELFOSABI_CLOUDABI definition 2016-05-21 15:38:40 +00:00
expat Fix multiple integer overflows in expat. 2015-08-18 19:30:04 +00:00
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 In gcc's libcpp, stop using the INTTYPE_MAXIMUM() macro, which relies on 2015-08-12 20:16:13 +00:00
gdb Fix KGDB backtrace on ARM 2016-04-20 17:58:13 +00:00
gdtoa
gperf Convert texinfo to mdoc(7) using texi2mdoc 2015-03-02 11:48:00 +00:00
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 Add a script that runs configure for both ldns and drill. 2015-04-27 12:02:16 +00:00
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 MFV r288243: nc from OpenBSD 5.8. 2015-09-27 07:04:16 +00:00
ngatm
ntp MFV r298691: 2016-04-27 07:46:38 +00:00
nvi Update nvi to 2.1.3 which fixes the data corruption when locale conversion 2015-04-10 17:50:28 +00:00
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 Restore the upstream (and documented) behavior of searching for modules 2015-09-21 17:26:35 +00:00
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 Remove unneeded libutil dependency for sendmail. 2015-11-24 04:19:55 +00:00
serf Update serf from 1.3.7 to 1.3.8. Mostly disables sslv2 and sslv3. 2015-08-09 05:16:14 +00:00
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 The code starts with base + 1 as the first port. Fix to documentation 2015-05-31 12:18:30 +00:00
tzcode Merge: 2015-10-08 11:42:15 +00:00
tzdata MFV of 290695,tzdata2015g 2015-11-12 03:25:04 +00:00
unbound Apply upstream r3651: the IPv6 address of the L root has changed. 2016-03-11 14:57:40 +00:00
unvis
vis Import NetBSD vis(1) mandoc fixes 2015-01-03 23:16:13 +00:00
wpa [wpa] use IFM_IEEE80211_ADHOC for now on FreeBSD for IBSS operation. 2015-11-26 17:28:40 +00:00
xz MFV r291123: 2015-11-21 09:09:25 +00:00