opnsense-src/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
apr
apr-util
atf
binutils
bmake
bsnmp
byacc
bzip2
com_err
compiler-rt
dialog
diff
dma
dtc
ee
elftoolchain
expat
file
flex
gcc
gcclibs
gdb
gdtoa
gperf
groff
hyperv/tools
ipfilter
jemalloc
ldns
ldns-host
less
libarchive
libbegemot
libc++
libc-pwcache
libc-vis
libcxxrt
libexecinfo
libgnuregex
libpcap
libreadline
libstdc++
libucl
libxo
llvm
mdocml
mknod
mtree
ncurses
netbsd-tests
netcat
ngatm
ntp
nvi
ofed
one-true-awk
openbsm
openpam
openresolv
opie
pam_modules/pam_passwdqc
pf
pjdfstest
pnpinfo
sendmail
serf
smbfs
sqlite3
subversion
tcp_wrappers
tcpdump
tcsh
telnet
tnftp
top Silence top(1) compiler warnings 2016-05-22 04:17:00 +00:00
traceroute
tzcode
tzdata
unbound
unvis
vis
wpa
xz