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
Unknown Object (File)
Wed, May 29, 11:18 AM
Unknown Object (File)
Mar 20 2024, 2:25 PM
Unknown Object (File)
Dec 22 2023, 10:14 PM
Unknown Object (File)
Dec 22 2023, 3:56 PM
Unknown Object (File)
Oct 31 2023, 6:59 PM
Unknown Object (File)
Oct 19 2023, 8:11 PM
Unknown Object (File)
Oct 19 2023, 9:05 AM
Unknown Object (File)
Sep 29 2023, 7:09 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 :).