diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-03-04 06:44:57 +0100 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-26 15:33:29 +0000 |
| commit | 7e6350359a16036e225373f10721dfdb903ed202 (patch) | |
| tree | de5eb69cb0f2f1847ae790eadf4cd918384dfb85 /lib/snmp.c | |
| parent | e757c94097f6c4193e0acc5a3442298943e6a7a7 (diff) | |
snmp: fix warnings
batch-fix all warnings that come up when enabling AgentX SNMP support.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit dfee58f1d41a2e36c7f5f38a3ef5712224131824)
Diffstat (limited to 'lib/snmp.c')
| -rw-r--r-- | lib/snmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snmp.c b/lib/snmp.c index 79595a1ea2..f6f9845e2d 100644 --- a/lib/snmp.c +++ b/lib/snmp.c @@ -30,7 +30,7 @@ #define min(A,B) ((A) < (B) ? (A) : (B)) int -oid_compare (oid *o1, int o1_len, oid *o2, int o2_len) +oid_compare (const oid *o1, int o1_len, const oid *o2, int o2_len) { int i; |
