From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1879) id A21693858C98; Thu, 25 Apr 2024 17:05:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A21693858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1714064755; bh=xKkn6CSygaTPaPkpI3Mh1s7b8Z6APfwKIBDscWvlikI=; h=From:To:Subject:Date:From; b=PUlmRchD2MGNhkPQgvtNBY9Z6nn0Nj98tSHaJiTofWbeFlZYSYJgqH3fUybqJaBiX ZRNxm0lgAFMCgK/5juaxVS9YXu2QzPpCBoTfdl7nVUL8Os5TIBQtVOtt+RkaPCk/ef 7L48uAn0Jf+oa0LZGGCPEuwH+JpipZ8LuFqK8Hl4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Simon Marchi To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb: remove unused print_command_line and print_command_lines declarations X-Act-Checkin: binutils-gdb X-Git-Author: Simon Marchi X-Git-Refname: refs/heads/master X-Git-Oldrev: 824dd26e97d6729d60d23ffc3c6dc27dec9b657e X-Git-Newrev: 32e41cd6cc20a6500e130661307f5b13dbed1b36 Message-Id: <20240425170555.A21693858C98@sourceware.org> Date: Thu, 25 Apr 2024 17:05:55 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D32e41cd6cc20= a6500e130661307f5b13dbed1b36 commit 32e41cd6cc20a6500e130661307f5b13dbed1b36 Author: Simon Marchi Date: Tue Apr 23 15:22:42 2024 -0400 gdb: remove unused print_command_line and print_command_lines declarati= ons =20 There is no corresponding definition for print_command_line. =20 There is already a declaration for print_command_lines in cli/cli-script.h (the implementation is in cli/cli-script.c). =20 Change-Id: Ic9e67ed04703306d614383ead14e2b2b059b2a8e Approved-By: Tom Tromey Diff: --- gdb/gdbcmd.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h index c212a0caf73..92fa9a7bf14 100644 --- a/gdb/gdbcmd.h +++ b/gdb/gdbcmd.h @@ -29,11 +29,6 @@ #include "cli/cli-script.h" #include "cli/cli-cmds.h" =20 -extern void print_command_line (struct command_line *, unsigned int, - struct ui_file *); -extern void print_command_lines (struct ui_out *, - struct command_line *, unsigned int); - /* Chains containing all defined "set/show style" subcommands. */ extern struct cmd_list_element *style_set_list; extern struct cmd_list_element *style_show_list;