Sergio Scaglia / Nanostack_lib

Dependents:   mbedEndpointNetwork mbedEndpointNetworkMJK

Fork of Nanostack_lib by Sensinode

Revision:
12:acef6f596835
Parent:
11:1b7aaf37a131
--- a/inc/net/br_mle_lib.h	Wed Jun 25 21:05:58 2014 +0000
+++ b/inc/net/br_mle_lib.h	Mon Jun 30 12:04:13 2014 +0300
@@ -13,10 +13,12 @@
  * MLE link update messages will be delivered by trickle multicast forwarding using multicast address FF03::1.
  *
  */
-
-#ifdef __cplusplus
+#ifndef _BR_MLE_LIB_H
+#define _BR_MLE_LIB_H
+ #ifdef __cplusplus
 extern "C" {
 #endif
+
 /* Supported MLE Link layer Parameters changes at Run time*/
 #define MLE_CHANNEL_UPDATE_TYPE 0 		/* Update new link layer channel */
 #define MLE_PANID_UPDATE_TYPE 1			/* Update new link layer PAN-ID */
@@ -71,6 +73,7 @@
  *
  */
 extern int8_t arm_mle_link_request_to_routers(int8_t nwk_id);
-#ifdef __cplusplus
+ #ifdef __cplusplus
 }
 #endif
+#endif /*_BR_MLE_LIB_H*/