HomeFreeBSD

MFC r332671: top: fix warnings from clang/gcc

Description

MFC r332671: top: fix warnings from clang/gcc

Add includes for <curses.h> and <termcap.h> where necessary, and
rename a few internal functions to have a "top_" prefix to avoid
clashes with standard names from curses.h/termcap.h headers.

Top now compiles without warnings on both gcc and clang.

Details

Provenance
lidlAuthored on
Parents
rS332947: Actually MFC r331949, r332437, r332438
Branches
Unknown
Tags
Unknown