Skip to content

Commit

Permalink
Add include guard and define for C++ usage in saul_cord_ep.h
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasBraeuer committed Dec 9, 2019
1 parent 2473938 commit ef64547
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions saul_cord_ep.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@
*
* @}
*/
#ifndef SAUL_CORD_EP_H
#define SAUL_CORD_EP_H

#include "net/nanocoap.h"
#include "net/cord/config.h"
#include "net/cord/ep.h"
#include "net/sock/util.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
* @brief Possible types of events when interacting with a Resource Directory.
*/
Expand Down Expand Up @@ -70,3 +76,10 @@ void saul_cord_ep_run(void);
*/
void saul_cord_ep_register_cb(saul_cord_ep_cb_t cb);


#ifdef __cplusplus
}
#endif

#endif /* SAUL_CORD_EP_H */

0 comments on commit ef64547

Please sign in to comment.