From 99f3bc51dfef8d4fb16c3d0540c669c79a02563b Mon Sep 17 00:00:00 2001
From: Iztok Jeras <iztok.jeras@redpitaya.com>
Date: 摹曛, 08 10月 2015 03:00:34 +0800
Subject: [PATCH] integer parser: removing some signed/unsigned function duplication

---
 libscpi/inc/scpi/units.h |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/libscpi/inc/scpi/units.h b/libscpi/inc/scpi/units.h
index 8a06301..975a644 100644
--- a/libscpi/inc/scpi/units.h
+++ b/libscpi/inc/scpi/units.h
@@ -44,10 +44,12 @@
 #endif
 
     extern const scpi_unit_def_t scpi_units_def[];
-    extern const scpi_special_number_def_t scpi_special_numbers_def[];
-    
-    bool_t SCPI_ParamNumber(scpi_t * context, scpi_number_t * value, bool_t mandatory);
-    size_t SCPI_NumberToStr(scpi_t * context, scpi_number_t * value, char * str, size_t len);
+    extern const scpi_choice_def_t scpi_special_numbers_def[];
+
+    scpi_bool_t SCPI_ParamNumber(scpi_t * context, const scpi_choice_def_t * special, scpi_number_t * value, scpi_bool_t mandatory);
+
+    scpi_bool_t SCPI_ParamTranslateNumberVal(scpi_t * context, scpi_parameter_t * parameter);
+    size_t SCPI_NumberToStr(scpi_t * context, const scpi_choice_def_t * special, scpi_number_t * value, char * str, size_t len);
 
 #ifdef	__cplusplus
 }

--
Gitblit v1.9.1