commit | dfee58f1d41a2e36c7f5f38a3ef5712224131824 | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Wed Mar 04 06:44:57 2015 +0100 |
committer | David Lamparter <equinox@opensourcerouting.org> | Tue Apr 21 10:19:10 2015 +0200 |
tree | 10e588443180a85a6ac019db1ded6b1144f32a7c | |
parent | 6769f43de9d595b935f2ebf1cae1428e1d1a3a5f [diff] [blame] |
snmp: fix warnings batch-fix all warnings that come up when enabling AgentX SNMP support. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
diff --git a/lib/snmp.c b/lib/snmp.c index 79595a1..f6f9845 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;