From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Subject: [multiprocess] RFA: remove duplicate declarations
Date: Mon, 24 Nov 2008 21:12:00 -0000 [thread overview]
Message-ID: <m38wr90xhh.fsf@fleche.redhat.com> (raw)
While reading the multi-process branch I happened to notice some
duplication declarations in inferior.h. This patch removes the
duplicates.
I didn't do a regression test on this since simply building it seemed
sufficient.
Ok?
Tom
2008-11-24 Tom Tromey <tromey@redhat.com>
* inferior.h (number_of_inferiors, first_inferior_in_set,
set_inferior_exec, inferior_list): Remove duplicate declarations.
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 6b49bfc..c951026 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -580,8 +580,6 @@ extern int have_real_inferiors (void);
extern int number_of_inferiors (void);
-extern int number_of_inferiors (void);
-
/* Return a pointer to the current inferior. It is an error to call
this if there is no current inferior. */
extern struct inferior *current_inferior (void);
@@ -590,8 +588,6 @@ extern void set_inferior_name (struct inferior *inf, char *name);
extern void set_inferior_exec (struct inferior *inf, struct exec *exec);
-extern void set_inferior_exec (struct inferior *inf, struct exec *exec);
-
/* Itset definitions. */
extern struct itset *current_itset;
@@ -608,12 +604,8 @@ extern int itset_member (struct itset *itset, struct inferior *inf, int thread_i
extern struct inferior *first_inferior_in_set (struct itset *itset);
-extern struct inferior *first_inferior_in_set (struct itset *itset);
-
extern void dump_itset (struct itset *itset);
extern struct inferior *inferior_list;
-extern struct inferior *inferior_list;
-
#endif /* !defined (INFERIOR_H) */
next reply other threads:[~2008-11-24 18:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 21:12 Tom Tromey [this message]
2008-11-25 11:43 ` Joel Brobecker
2008-11-25 17:23 ` Tom Tromey
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=m38wr90xhh.fsf@fleche.redhat.com \
--to=tromey@redhat.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