[pushed] Remove '(void)' from rust parser

Message ID 20261028174855.1408323-1-tromey@adacore.com
State New
Headers
Series [pushed] Remove '(void)' from rust parser |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Tom Tromey Oct. 28, 2026, 5:48 p.m. UTC
  rust-parse.c has once instance of (void).  This removes it.
---
 gdb/rust-parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: aeed64b39aed57729f66ad51560d8964e8201e6e
  

Patch

diff --git a/gdb/rust-parse.c b/gdb/rust-parse.c
index 0c25008c0dc..db4122119a5 100644
--- a/gdb/rust-parse.c
+++ b/gdb/rust-parse.c
@@ -2301,7 +2301,7 @@  rust_lex_test_push_back (rust_parser *parser)
 /* Unit test the lexer.  */
 
 static void
-rust_lex_tests (void)
+rust_lex_tests ()
 {
   /* Set up dummy "parser", so that rust_type works.  */
   parser_state ps (language_def (language_rust), current_inferior ()->arch (),