From 78e1c2908d3f387cfcfd28c08105b5ba588bd7d0 Mon Sep 17 00:00:00 2001
From: nancy.liao <huihui.liao@greentest.com.cn>
Date: 周二, 06 5月 2025 09:29:46 +0800
Subject: [PATCH] 修改了全局变量的单例化

---
 libscpi/src/utils_private.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/libscpi/src/utils_private.h b/libscpi/src/utils_private.h
index 101bd71..b0dece2 100644
--- a/libscpi/src/utils_private.h
+++ b/libscpi/src/utils_private.h
@@ -79,14 +79,6 @@
 scpi_bool_t composeCompoundCommand(const scpi_token_t * prev, scpi_token_t * current) LOCAL;
 
 
-#define MAX_OPTION_LEN 256
-#define MAX_TAGS 10
-#define MAX_INPUT_LEN 256
-int extract_required_options(const char* pattern, char options[MAX_TAGS][MAX_OPTION_LEN][MAX_OPTION_LEN], int max_tags);
-int match_input_to_options(const char* input, char options[MAX_TAGS][MAX_OPTION_LEN][MAX_OPTION_LEN], int num_tags);
-bool test_match(const char* pattern, const char* command);
-
-
 #define SCPI_DTOSTRE_UPPERCASE   1
 #define SCPI_DTOSTRE_ALWAYS_SIGN 2
 #define SCPI_DTOSTRE_PLUS_SIGN   4

--
Gitblit v1.9.1