texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrice Dumas
Date: Wed, 3 Jan 2024 18:10:55 -0500 (EST)

branch: master
commit 65caa334b0bbb908dac20a1527d838565232d9a9
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Jan 3 21:56:36 2024 +0100

    * tp/Texinfo/XS/main/utils.h: remove COMMAND_OPTION_REF and
    COMMAND_OPTION_VALUE that are not used anymore.
---
 ChangeLog                  |  5 +++++
 tp/Texinfo/XS/main/utils.h | 18 ------------------
 2 files changed, 5 insertions(+), 18 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 73f6fe12f8..234311de77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-01-03  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/main/utils.h: remove COMMAND_OPTION_REF and
+       COMMAND_OPTION_VALUE that are not used anymore.
+
 2024-01-03  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/main/build_perl_info.c (build_string_list)
diff --git a/tp/Texinfo/XS/main/utils.h b/tp/Texinfo/XS/main/utils.h
index 9d44bc04b4..5cf8826e0a 100644
--- a/tp/Texinfo/XS/main/utils.h
+++ b/tp/Texinfo/XS/main/utils.h
@@ -76,24 +76,6 @@ typedef struct COMMAND_OPTION_DEFAULT {
 
 extern COMMAND_OPTION_DEFAULT command_option_default_table[];
 
-/* return type of get_command_option */
-typedef struct COMMAND_OPTION_REF {
-    enum global_option_type type;
-    union {
-      int *int_ref;
-      char **char_ref;
-    };
-} COMMAND_OPTION_REF;
-
-/* similar to COMMAND_OPTION_REF but for values only */
-typedef struct COMMAND_OPTION_VALUE {
-    enum global_option_type type;
-    union {
-      int int_value;
-      char *char_value;
-    };
-} COMMAND_OPTION_VALUE;
-
 #define SMALL_BLOCK_COMMANDS_LIST \
     smbc_command_name(example)\
     smbc_command_name(display) \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]