[Bug 209685] [PATCH] /usr/bin/top: silence compiler warnings

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 21 21:15:46 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209685

            Bug ID: 209685
           Summary: [PATCH] /usr/bin/top: silence compiler warnings
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rwestlun at gmail.com
          Keywords: patch

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, among others. This diff silences 131 warnings with as little
modification as possible.

Once this is committed, I intend to continue cleaning up top, including
ANSIfication, style(9), and maybe moving it out of contrib.

https://reviews.freebsd.org/D6468

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list