aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARM7-LPC214x/vic.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/ARM7-LPC214x/vic.h')
-rw-r--r--ports/ARM7-LPC214x/vic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/ARM7-LPC214x/vic.h b/ports/ARM7-LPC214x/vic.h
index 9d8ba93ad..2c3fdd32d 100644
--- a/ports/ARM7-LPC214x/vic.h
+++ b/ports/ARM7-LPC214x/vic.h
@@ -21,7 +21,7 @@
#define _VIC_H_
#ifdef __cplusplus
-}
+extern "C" {
#endif
void InitVIC(void);
void SetVICVector(void *handler, int vector, int source);
@@ -29,4 +29,4 @@
}
#endif
-#endif /* _VIC_H_*/
+#endif /* _VIC_H_ */