From 0cb32ff4f91776a553973cb01471db7233693d05 Mon Sep 17 00:00:00 2001 From: skasti Date: Thu, 26 Sep 2024 08:03:30 +0200 Subject: [PATCH] Make read_real_value available --- ngc_expr.c | 2 +- ngc_expr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ngc_expr.c b/ngc_expr.c index 91f336d..1c19511 100644 --- a/ngc_expr.c +++ b/ngc_expr.c @@ -716,7 +716,7 @@ other readers, depending upon the first character. \param value pointer to float where result is to be stored. \returns #Status_OK enum value if processed without error, appropriate \ref status_code_t enum value if not. */ -static status_code_t read_real_value (char *line, uint_fast8_t *pos, float *value) +status_code_t read_real_value (char *line, uint_fast8_t *pos, float *value) { char c = line[*pos], c1; diff --git a/ngc_expr.h b/ngc_expr.h index 584e37a..8b0753b 100644 --- a/ngc_expr.h +++ b/ngc_expr.h @@ -4,5 +4,5 @@ #define _NGC_EXPR_H_ status_code_t ngc_eval_expression (char *line, uint_fast8_t *pos, float *value); - +status_code_t read_real_value (char *line, uint_fast8_t *pos, float *value); #endif