[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Sat, 24 Feb 2024 07:00:21 -0500 (EST) |
branch: master
commit fd69b3a79835b6cbb2f85444fb357ed90a1b06ce
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Feb 24 12:35:21 2024 +0100
* tp/Texinfo/XS/main/tree.c: remove now unused
element_set_empty_contents.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/main/tree.c | 7 -------
tp/Texinfo/XS/main/tree.h | 1 -
3 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1325615a92..45d0b3a088 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-02-24 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/main/tree.c: remove now unused
+ element_set_empty_contents.
+
2024-02-24 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/build_perl_info.c (build_additional_info),
diff --git a/tp/Texinfo/XS/main/tree.c b/tp/Texinfo/XS/main/tree.c
index 8662523681..f105a886aa 100644
--- a/tp/Texinfo/XS/main/tree.c
+++ b/tp/Texinfo/XS/main/tree.c
@@ -390,13 +390,6 @@ list_set_empty_contents (ELEMENT_LIST *e_list, int n)
e_list->list[i] = 0;
}
-
-void
-element_set_empty_contents (ELEMENT *parent, int n)
-{
- list_set_empty_contents (&parent->contents, n);
-}
-
ELEMENT *
remove_from_element_list (ELEMENT_LIST *list, int where)
{
diff --git a/tp/Texinfo/XS/main/tree.h b/tp/Texinfo/XS/main/tree.h
index 262b1b160b..ac04f2b42f 100644
--- a/tp/Texinfo/XS/main/tree.h
+++ b/tp/Texinfo/XS/main/tree.h
@@ -27,7 +27,6 @@ void insert_list_slice_into_contents (ELEMENT *to, int idx,
ELEMENT_LIST *from,
void insert_list_slice_into_args (ELEMENT *to, int where, ELEMENT_LIST *from,
int start, int end);
void list_set_empty_contents (ELEMENT_LIST *e_list, int n);
-void element_set_empty_contents (ELEMENT *parent, int n);
ELEMENT *remove_from_element_list (ELEMENT_LIST *list, int where);
ELEMENT *remove_from_contents (ELEMENT *parent, int where);
ELEMENT *remove_from_args (ELEMENT *parent, int where);