diff options
author | ngie <ngie@FreeBSD.org> | 2016-06-12 05:57:42 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-06-12 05:57:42 +0000 |
commit | c6121076a04ad6bd67f3f5daa207c6876fec6bf6 (patch) | |
tree | 22fd0ff61a3c52ee22883f40ccfada0759f8c777 /contrib/diff/src/diff3.c | |
parent | 9be8cdbf64b1298f814e3e49984991d4db3a3e08 (diff) | |
download | FreeBSD-src-c6121076a04ad6bd67f3f5daa207c6876fec6bf6.zip FreeBSD-src-c6121076a04ad6bd67f3f5daa207c6876fec6bf6.tar.gz |
MFC r300395:
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.
Diffstat (limited to 'contrib/diff/src/diff3.c')
0 files changed, 0 insertions, 0 deletions