Add missing extern "C" to header files (closes #104)
This commit is contained in:
committed by
graham sanderson
parent
0f4a5f8e60
commit
d4c9dced40
@ -36,6 +36,10 @@
|
||||
* \include hello_divider.c
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef uint64_t divmod_result_t;
|
||||
|
||||
/*! \brief Start a signed asynchronous divide
|
||||
@ -392,4 +396,8 @@ void hw_divider_save_state(hw_divider_state_t *dest);
|
||||
|
||||
void hw_divider_restore_state(hw_divider_state_t *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // _HARDWARE_DIVIDER_H
|
||||
|
Reference in New Issue
Block a user