tdc/lib: added C++ support to the header file

Signed-off-by: Samuel Iglesias Gonsálvez's avatarSamuel Iglesias Gonsalvez <siglesias@igalia.com>
parent 384b3329
......@@ -3,6 +3,10 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct tdc_board {
int dev_id;
int lun;
......@@ -62,5 +66,8 @@ extern int tdc_clear_dacapo_flag(struct tdc_board *b);
extern int tdc_read(struct tdc_board *b, int chan, struct tdc_time *t,
int n, int flags);
#ifdef __cplusplus
}
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment