misc: Made (most) of the headers c++ friendly
[simavr] / simavr / sim / sim_vcd_file.h
index a94c256..7f55be8 100644 (file)
 #include <stdio.h>
 #include "sim_irq.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Value Change dump module for simavr.
  * 
@@ -85,4 +89,8 @@ int avr_vcd_start(avr_vcd_t * vcd);
 // stops recording signal values into the file
 int avr_vcd_stop(avr_vcd_t * vcd);
 
+#ifdef __cplusplus
+};
+#endif
+
 #endif /* __SIM_VCD_FILE_H__ */