summaryrefslogtreecommitdiff
path: root/bsp/drivers/plic
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/drivers/plic')
-rw-r--r--bsp/drivers/plic/plic_driver.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bsp/drivers/plic/plic_driver.h b/bsp/drivers/plic/plic_driver.h
index 66410be..b14b442 100644
--- a/bsp/drivers/plic/plic_driver.h
+++ b/bsp/drivers/plic/plic_driver.h
@@ -3,6 +3,8 @@
#ifndef PLIC_DRIVER_H
#define PLIC_DRIVER_H
+__BEGIN_DECLS
+
#include "platform.h"
typedef struct __plic_instance_t
@@ -42,5 +44,7 @@ plic_source PLIC_claim_interrupt(plic_instance_t * this_plic);
void PLIC_complete_interrupt(plic_instance_t * this_plic,
plic_source source);
-
+
+__END_DECLS
+
#endif