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

@@ -63,7 +63,7 @@ struct altcp_tls_config;
/** @ingroup altcp_tls
* Create an ALTCP_TLS server configuration handle prepared for multiple certificates
*/
struct altcp_tls_config *altcp_tls_create_config_server(uint8_t cert_count);
struct altcp_tls_config *altcp_tls_create_config_server(u8_t cert_count);
/** @ingroup altcp_tls
* Add a certificate to an ALTCP_TLS server configuration handle

View File

@@ -486,9 +486,9 @@ err_t tcp_tcp_get_tcp_addrinfo(struct tcp_pcb *pcb, int local, ip_add
#if LWIP_TCP_PCB_NUM_EXT_ARGS
u8_t tcp_ext_arg_alloc_id(void);
void tcp_ext_arg_set_callbacks(struct tcp_pcb *pcb, uint8_t id, const struct tcp_ext_arg_callbacks * const callbacks);
void tcp_ext_arg_set(struct tcp_pcb *pcb, uint8_t id, void *arg);
void *tcp_ext_arg_get(const struct tcp_pcb *pcb, uint8_t id);
void tcp_ext_arg_set_callbacks(struct tcp_pcb *pcb, u8_t id, const struct tcp_ext_arg_callbacks * const callbacks);
void tcp_ext_arg_set(struct tcp_pcb *pcb, u8_t id, void *arg);
void *tcp_ext_arg_get(const struct tcp_pcb *pcb, u8_t id);
#endif
#ifdef __cplusplus

View File

@@ -66,8 +66,8 @@ err_t rfc7668_if_init(struct netif *netif);
err_t tcpip_rfc7668_input(struct pbuf *p, struct netif *inp);
#endif
void ble_addr_to_eui64(uint8_t *dst, const uint8_t *src, int public_addr);
void eui64_to_ble_addr(uint8_t *dst, const uint8_t *src);
void ble_addr_to_eui64(u8_t *dst, const u8_t *src, int public_addr);
void eui64_to_ble_addr(u8_t *dst, const u8_t *src);
#ifdef __cplusplus
}