aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gdisp/driver.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gdisp/driver.h b/src/gdisp/driver.h
index f8d66f4b..98bf64fc 100644
--- a/src/gdisp/driver.h
+++ b/src/gdisp/driver.h
@@ -617,9 +617,15 @@ typedef struct GDISPVMT {
#endif
// Routines needed by the general driver VMT
- bool_t _gdispInitDriver(GDriver *g, unsigned driverinstance, unsigned systeminstance);
- void _gdispPostInitDriver(GDriver *g);
- void _gdispDeInitDriver(GDriver *g);
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+ bool_t _gdispInitDriver(GDriver *g, unsigned driverinstance, unsigned systeminstance);
+ void _gdispPostInitDriver(GDriver *g);
+ void _gdispDeInitDriver(GDriver *g);
+ #ifdef __cplusplus
+ }
+ #endif
// Build the VMT
const GDISPVMT const GDISP_DRIVER_VMT[1] = {{