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:
Jukka Rissanen 2017-07-24 16:23:14 +03:00 committed by Anas Nashif
commit 68ced8035d
13 changed files with 104 additions and 0 deletions

View file

@ -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_ */