Fix for bug #19740: 2 static functions are unused, simply ifdefing them out for now to get rid of warnings

This commit is contained in:
goldsimon 2007-05-13 11:08:04 +00:00
parent 19d49db305
commit bd570561e8

View File

@ -94,9 +94,11 @@ static void icmp_get_value(struct obj_def *od, u16_t len, void *value);
#if LWIP_TCP
static void tcp_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
static void tcp_get_value(struct obj_def *od, u16_t len, void *value);
#ifdef THIS_SEEMS_UNUSED
static void tcpconnentry_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
static void tcpconnentry_get_value(struct obj_def *od, u16_t len, void *value);
#endif
#endif
static void udp_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
static void udp_get_value(struct obj_def *od, u16_t len, void *value);
static void udpentry_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od);
@ -3597,7 +3599,7 @@ tcp_get_value(struct obj_def *od, u16_t len, void *value)
break;
}
}
#ifdef THIS_SEEMS_UNUSED
static void
tcpconnentry_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od)
{
@ -3667,6 +3669,7 @@ tcpconnentry_get_value(struct obj_def *od, u16_t len, void *value)
/** @todo find matching PCB */
}
#endif /* if 0 */
#endif
static void