From 6b2fc9c63be9d1454cf9df8c00771fdd238ba465 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周三, 20 3月 2013 23:00:18 +0800 Subject: [PATCH] ANSI C89 modifications --- libscpi/inc/scpi/parser.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libscpi/inc/scpi/parser.h b/libscpi/inc/scpi/parser.h index 75c67f3..dfa5608 100644 --- a/libscpi/inc/scpi/parser.h +++ b/libscpi/inc/scpi/parser.h @@ -57,8 +57,8 @@ bool_t SCPI_ParamInt(scpi_t * context, int32_t * value, bool_t mandatory); bool_t SCPI_ParamDouble(scpi_t * context, double * value, bool_t mandatory); - bool_t SCPI_ParamString(scpi_t * context, char ** value, size_t * len, bool_t mandatory); - bool_t SCPI_ParamText(scpi_t * context, char ** value, size_t * len, bool_t mandatory); + bool_t SCPI_ParamString(scpi_t * context, const char ** value, size_t * len, bool_t mandatory); + bool_t SCPI_ParamText(scpi_t * context, const char ** value, size_t * len, bool_t mandatory); #ifdef __cplusplus -- Gitblit v1.9.1