Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [pushed] Remove '(void)' from rust parser
@ 2026-10-28 17:48 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2026-10-28 17:48 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

rust-parse.c has once instance of (void).  This removes it.
---
 gdb/rust-parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 (),

base-commit: aeed64b39aed57729f66ad51560d8964e8201e6e
-- 
2.56.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 17:48 [pushed] Remove '(void)' from rust parser Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox