Page MenuHomeFreeBSD

Staticize several variables that are used exclusively in bsnmpd/main.c and bsnmpd/trap.c
ClosedPublic

Authored by ngie on Dec 28 2015, 1:05 AM.
Tags
None
Referenced Files
F135884049: D4718.id11729.diff
Thu, Nov 13, 8:36 PM
F135884045: D4718.id.diff
Thu, Nov 13, 8:36 PM
F135884044: D4718.id11730.diff
Thu, Nov 13, 8:36 PM
F135871666: D4718.diff
Thu, Nov 13, 5:35 PM
Unknown Object (File)
Fri, Nov 7, 6:52 AM
Unknown Object (File)
Fri, Nov 7, 5:34 AM
Unknown Object (File)
Wed, Nov 5, 5:28 PM
Unknown Object (File)
Wed, Nov 5, 4:03 PM
Subscribers

Details

Reviewers
araujo
harti
Summary

This fixes several -Wmissing-variable-declaration warnings with
clang reported by Jenkins here:

MFC after: 1 week
Reported by: Jenkins
Sponsored by: EMC / Isilon Storage Division

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

ngie retitled this revision from to Staticize several variables that are used exclusively in bsnmpd/main.c.
ngie updated this object.
ngie edited the test plan for this revision. (Show Details)
ngie added a reviewer: harti.
ngie set the repository for this revision to rS FreeBSD src repository - subversion.
ngie added subscribers: araujo, bapt.
ngie retitled this revision from Staticize several variables that are used exclusively in bsnmpd/main.c to Staticize several variables that are used exclusively in bsnmpd/main.c and bsnmpd/trap.c.
ngie updated this object.
ngie removed rS FreeBSD src repository - subversion as the repository for this revision.

Add trap.c diff as well

araujo added a reviewer: araujo.

LGTM, I have a plan to update snmpd, I have contacted harti@ but seems he is not too active nowadays.

Best,

This revision is now accepted and ready to land.Dec 28 2015, 1:22 AM
In D4718#99868, @araujo wrote:

LGTM, I have a plan to update snmpd, I have contacted harti@ but seems he is not too active nowadays.

Best,

Thanks for the review :)!

I wanted to fix the warnings so Jenkins would be happy and so NO_WERROR could be turned off in the associated Makefile(s). $work has some enhancements and potential fixes coming down the pike soon for bsnmpd, and I just want to make sure bugs don't sneak in by accident :).