From 8b6b2702875cb5f0e38bf5ce267bdc9831b331f7 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 28 Mar 2017 09:20:59 +0200 Subject: [PATCH] mqtt: clean up struct prototypes a bit --- src/include/lwip/apps/mqtt.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/apps/mqtt.h b/src/include/lwip/apps/mqtt.h index 52471a5c..5e942bb6 100644 --- a/src/include/lwip/apps/mqtt.h +++ b/src/include/lwip/apps/mqtt.h @@ -45,7 +45,12 @@ extern "C" { #endif -typedef struct mqtt_client_t mqtt_client_t; +typedef struct mqtt_client_s mqtt_client_t; + +struct altcp_pcb; +#if LWIP_ALTCP && LWIP_ALTCP_TLS +struct altcp_tls_config; +#endif /** @ingroup mqtt * Default MQTT port (non-TLS) */ @@ -180,7 +185,7 @@ struct mqtt_ringbuf_t { }; /** MQTT client */ -struct mqtt_client_t +struct mqtt_client_s { /** Timers and timeouts */ u16_t cyclic_tick;