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:
parent
755ce402e2
commit
ed3cbffc2a
|
@ -22,6 +22,8 @@
|
|||
|
||||
#include "common.h"
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
void __dmb(void);
|
||||
|
||||
/* Implements synchronisation primitives as discussed in the ARM document
|
||||
|
@ -52,4 +54,6 @@ void mutex_unlock(mutex_t *m);
|
|||
|
||||
#endif
|
||||
|
||||
END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue