net: Add missing __cplusplus checks to includes
Some of the public networking include files did not had __cplusplus checks. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
f5a8d498ea
commit
68ced8035d
13 changed files with 104 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
|||
#include <net/mqtt_types.h>
|
||||
#include <net/net_context.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief MQTT library
|
||||
* @defgroup mqtt MQTT library
|
||||
|
@ -418,4 +422,8 @@ int mqtt_rx_publish(struct mqtt_ctx *ctx, struct net_buf *rx);
|
|||
* @}
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _MQTT_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue