[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Explicit void for argument of C functions. Gavin
From: |
Patrice Dumas |
Subject: |
branch master updated: Explicit void for argument of C functions. Gavin report. |
Date: |
Sun, 19 Nov 2023 04:25:07 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 93af31ffa1 Explicit void for argument of C functions. Gavin report.
93af31ffa1 is described below
commit 93af31ffa1ba8d361a7515d3d8c50edc91b4a8a3
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Nov 19 10:24:56 2023 +0100
Explicit void for argument of C functions. Gavin report.
---
ChangeLog | 4 ++++
tp/Texinfo/XS/convert/convert_html.c | 2 +-
tp/Texinfo/XS/main/api_to_perl.c | 4 ++--
tp/Texinfo/XS/main/builtin_commands.c | 2 +-
tp/Texinfo/XS/main/tree.c | 2 +-
tp/Texinfo/XS/main/utils.c | 2 +-
tp/Texinfo/XS/parsetexi/parser.c | 2 +-
7 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6b748fd32c..e742b1b382 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-11-19 Patrice Dumas <pertusus@free.fr>
+
+ Explicit void for argument of C functions. Gavin report.
+
2023-11-18 Gavin Smith <gavinsmith0123@gmail.com>
* tp/Texinfo/XS/main/tree_types.h: Correct file name in a
diff --git a/tp/Texinfo/XS/convert/convert_html.c
b/tp/Texinfo/XS/convert/convert_html.c
index 1d836c9e37..bb1315643e 100644
--- a/tp/Texinfo/XS/convert/convert_html.c
+++ b/tp/Texinfo/XS/convert/convert_html.c
@@ -2810,7 +2810,7 @@ reset_translated_special_unit_info_tree (CONVERTER *self)
/* set information that is independent of customization, only called once */
void
-html_format_init ()
+html_format_init (void)
{
int i;
int nr_default_commands
diff --git a/tp/Texinfo/XS/main/api_to_perl.c b/tp/Texinfo/XS/main/api_to_perl.c
index 413e29bcb3..a0e9eb4344 100644
--- a/tp/Texinfo/XS/main/api_to_perl.c
+++ b/tp/Texinfo/XS/main/api_to_perl.c
@@ -47,7 +47,7 @@ unregister_perl_tree_element (ELEMENT *e)
}
void
-call_switch_to_global_locale ()
+call_switch_to_global_locale (void)
{
dTHX;
@@ -58,7 +58,7 @@ call_switch_to_global_locale ()
}
void
-call_sync_locale ()
+call_sync_locale (void)
{
dTHX;
diff --git a/tp/Texinfo/XS/main/builtin_commands.c
b/tp/Texinfo/XS/main/builtin_commands.c
index e71b4342c3..fa6556df6b 100644
--- a/tp/Texinfo/XS/main/builtin_commands.c
+++ b/tp/Texinfo/XS/main/builtin_commands.c
@@ -138,7 +138,7 @@ compare_type_index_fn (const void *a, const void *b)
}
void
-set_element_type_name_info ()
+set_element_type_name_info (void)
{
int i;
for (i = 1; i < TXI_TREE_TYPES_NUMBER; i++)
diff --git a/tp/Texinfo/XS/main/tree.c b/tp/Texinfo/XS/main/tree.c
index c0d7d18cb2..cb7f22b0e2 100644
--- a/tp/Texinfo/XS/main/tree.c
+++ b/tp/Texinfo/XS/main/tree.c
@@ -118,7 +118,7 @@ new_element (enum element_type type)
}
ELEMENT_LIST *
-new_list ()
+new_list (void)
{
ELEMENT_LIST *list = (ELEMENT_LIST *) malloc (sizeof (ELEMENT_LIST));
memset (list, 0, sizeof (ELEMENT_LIST));
diff --git a/tp/Texinfo/XS/main/utils.c b/tp/Texinfo/XS/main/utils.c
index b13f46e882..0376ed1ae1 100644
--- a/tp/Texinfo/XS/main/utils.c
+++ b/tp/Texinfo/XS/main/utils.c
@@ -446,7 +446,7 @@ add_expanded_format (EXPANDED_FORMAT *formats, char *format)
}
EXPANDED_FORMAT *
-new_expanded_formats ()
+new_expanded_formats (void)
{
EXPANDED_FORMAT *formats
= (EXPANDED_FORMAT *) malloc (sizeof (expanded_formats));
diff --git a/tp/Texinfo/XS/parsetexi/parser.c b/tp/Texinfo/XS/parsetexi/parser.c
index bf48a87f82..a652698d2b 100644
--- a/tp/Texinfo/XS/parsetexi/parser.c
+++ b/tp/Texinfo/XS/parsetexi/parser.c
@@ -442,7 +442,7 @@ wipe_parser_global_info (void)
as first content. Used for all the tree except for those obtained by
parse_texi_line/parse_string. */
ELEMENT *
-setup_document_root_and_before_node_section ()
+setup_document_root_and_before_node_section (void)
{
ELEMENT *before_node_section = new_element (ET_before_node_section);
ELEMENT *document_root = new_element (ET_document_root);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Explicit void for argument of C functions. Gavin report.,
Patrice Dumas <=