From 4998131d17b97cf0cf7260acfb91d6fcadf522eb Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: ćšć, 02 6æ 2016 02:05:19 +0800 Subject: [PATCH] Fix cpp example for old compillers --- examples/common/scpi-def.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/common/scpi-def.h b/examples/common/scpi-def.h index 908f80b..ddce164 100644 --- a/examples/common/scpi-def.h +++ b/examples/common/scpi-def.h @@ -13,7 +13,7 @@ extern const scpi_command_t scpi_commands[]; extern scpi_interface_t scpi_interface; extern char scpi_input_buffer[]; -extern int16_t scpi_error_queue_data[]; +extern scpi_error_t scpi_error_queue_data[]; extern scpi_t scpi_context; size_t SCPI_Write(scpi_t * context, const char * data, size_t len); @@ -25,5 +25,5 @@ scpi_result_t SCPI_SystemCommTcpipControlQ(scpi_t * context); -#endif // __SCPI_DEF_H_ +#endif /* __SCPI_DEF_H_ */ -- Gitblit v1.9.1