Replace several occurences of stdint types by lwIPs portability typedefs

Fixes bug #55405: Usage of uint8_t instead of ui8_t in TCP code
This commit is contained in:
Dirk Ziegelmeier
2019-01-06 21:19:04 +01:00
parent d504e27142
commit ea14b774c8
8 changed files with 22 additions and 22 deletions

View File

@@ -2594,7 +2594,7 @@ tcp_ext_arg_alloc_id(void)
* @param callbacks callback table (const since it is referenced, not copied!)
*/
void
tcp_ext_arg_set_callbacks(struct tcp_pcb *pcb, uint8_t id, const struct tcp_ext_arg_callbacks * const callbacks)
tcp_ext_arg_set_callbacks(struct tcp_pcb *pcb, u8_t id, const struct tcp_ext_arg_callbacks * const callbacks)
{
LWIP_ASSERT("pcb != NULL", pcb != NULL);
LWIP_ASSERT("id < LWIP_TCP_PCB_NUM_EXT_ARGS", id < LWIP_TCP_PCB_NUM_EXT_ARGS);
@@ -2613,7 +2613,7 @@ tcp_ext_arg_set_callbacks(struct tcp_pcb *pcb, uint8_t id, const struct tcp_ext_
* @param id ext_args index to set (allocated via @ref tcp_ext_arg_alloc_id)
* @param arg data pointer to set
*/
void tcp_ext_arg_set(struct tcp_pcb *pcb, uint8_t id, void *arg)
void tcp_ext_arg_set(struct tcp_pcb *pcb, u8_t id, void *arg)
{
LWIP_ASSERT("pcb != NULL", pcb != NULL);
LWIP_ASSERT("id < LWIP_TCP_PCB_NUM_EXT_ARGS", id < LWIP_TCP_PCB_NUM_EXT_ARGS);
@@ -2631,7 +2631,7 @@ void tcp_ext_arg_set(struct tcp_pcb *pcb, uint8_t id, void *arg)
* @param id ext_args index to set (allocated via @ref tcp_ext_arg_alloc_id)
* @return data pointer at the given index
*/
void *tcp_ext_arg_get(const struct tcp_pcb *pcb, uint8_t id)
void *tcp_ext_arg_get(const struct tcp_pcb *pcb, u8_t id)
{
LWIP_ASSERT("pcb != NULL", pcb != NULL);
LWIP_ASSERT("id < LWIP_TCP_PCB_NUM_EXT_ARGS", id < LWIP_TCP_PCB_NUM_EXT_ARGS);