add C++ guards

This commit is contained in:
Nils O. Selåsdal
2013-06-19 18:48:45 +02:00
parent 6268e6ac8e
commit b4f9ecafe2
7 changed files with 55 additions and 2 deletions
+9
View File
@@ -3,6 +3,11 @@
#include "timers.h"
#ifdef __cplusplus
extern "C" {
#endif
#define MUX_EV_READ (1U << 0x00)
#define MUX_EV_WRITE (1U << 0x01)
//#define MUX_EV_EXCEPT (1 << 0x02)
@@ -100,5 +105,9 @@ int iomux_update_events(struct IOMux *mux, struct IOMuxFD *fd);
*/
struct UCTimers *iomux_get_timers(struct IOMux *mux);
#ifdef __cplusplus
}
#endif
#endif