Add missing extern "C" to header files (closes #104)

This commit is contained in:
Luke Wren
2021-02-09 14:47:16 +00:00
committed by Graham Sanderson
parent 32ada8a2de
commit b34995a549
11 changed files with 85 additions and 0 deletions

View File

@ -32,6 +32,10 @@
* 3. Finding unused resources
*/
#ifdef __cplusplus
extern "C" {
#endif
/*! \brief Atomically claim a resource, panicking if it is already in use
* \ingroup hardware_claim
*
@ -98,4 +102,8 @@ uint32_t hw_claim_lock(void);
*/
void hw_claim_unlock(uint32_t token);
#ifdef __cplusplus
}
#endif
#endif