mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-12 13:13:21 +00:00
Fix type on snmp_set_test_ok to be snmp_err_t
This function was returning values from snmp_err_t but wasn't upgraded to using the typedef after commit babce70 This resulted in compilation failure on MSVC 2013
This commit is contained in:
parent
babce70c95
commit
0a67c06b51
@ -988,7 +988,7 @@ snmp_oid_in_range(const u32_t *oid_in, u8_t oid_len, const struct snmp_oid_range
|
||||
return 1;
|
||||
}
|
||||
|
||||
u8_t
|
||||
snmp_err_t
|
||||
snmp_set_test_ok(struct snmp_node_instance* instance, u16_t value_len, void* value)
|
||||
{
|
||||
LWIP_UNUSED_ARG(instance);
|
||||
|
@ -311,7 +311,7 @@ u8_t snmp_oid_to_ip(const u32_t *oid, u8_t oid_len, ip_addr_t *ip);
|
||||
u8_t snmp_oid_to_ip_port(const u32_t *oid, u8_t oid_len, ip_addr_t *ip, u16_t *port);
|
||||
#endif /* LWIP_IPV4 || LWIP_IPV6 */
|
||||
|
||||
u8_t snmp_set_test_ok(struct snmp_node_instance* instance, u16_t value_len, void* value); /* generic function which can be used if test is always successful */
|
||||
snmp_err_t snmp_set_test_ok(struct snmp_node_instance* instance, u16_t value_len, void* value); /* generic function which can be used if test is always successful */
|
||||
|
||||
err_t snmp_decode_bits(const u8_t *buf, u32_t buf_len, u32_t *bit_value);
|
||||
err_t snmp_decode_truthvalue(const s32_t *asn1_value, u8_t *bool_value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user