diff options
author | ngie <ngie@FreeBSD.org> | 2016-05-22 04:17:00 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-05-22 04:17:00 +0000 |
commit | 037853325081b53767df0c034cda3c14ea99dc0d (patch) | |
tree | edc1bed49b9926d9d2251f491e147e952a6a94ca /lib/libc/stdlib/random.c | |
parent | 4a090513b10515af596208573b533bf6bc54bff9 (diff) | |
download | FreeBSD-src-037853325081b53767df0c034cda3c14ea99dc0d.zip FreeBSD-src-037853325081b53767df0c034cda3c14ea99dc0d.tar.gz |
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
Diffstat (limited to 'lib/libc/stdlib/random.c')
0 files changed, 0 insertions, 0 deletions