cm3/sync.h: Add DECLS to allow use with c++
Reported by vvirag on IRC. Diagnosed and fixed by zyp on IRC
This commit is contained in:
@@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
BEGIN_DECLS
|
||||||
|
|
||||||
void __dmb(void);
|
void __dmb(void);
|
||||||
|
|
||||||
/* Implements synchronisation primitives as discussed in the ARM document
|
/* Implements synchronisation primitives as discussed in the ARM document
|
||||||
@@ -52,4 +54,6 @@ void mutex_unlock(mutex_t *m);
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user