Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@adacore.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tromey@adacore.com>
Subject: [pushed] Remove '(void)' from rust parser
Date: Wed, 28 Oct 2026 11:48:55 -0600	[thread overview]
Message-ID: <20261028174855.1408323-1-tromey@adacore.com> (raw)

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


                 reply	other threads:[~2026-10-28 17:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261028174855.1408323-1-tromey@adacore.com \
    --to=tromey@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox