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:
Karl Palsson 2017-01-27 17:07:52 +00:00
parent 755ce402e2
commit ed3cbffc2a
1 changed files with 4 additions and 0 deletions

View File

@ -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