* [multiprocess] RFA: remove duplicate declarations
@ 2008-11-24 21:12 Tom Tromey
2008-11-25 11:43 ` Joel Brobecker
0 siblings, 1 reply; 3+ messages in thread
From: Tom Tromey @ 2008-11-24 21:12 UTC (permalink / raw)
To: gdb-patches
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) */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [multiprocess] RFA: remove duplicate declarations
2008-11-24 21:12 [multiprocess] RFA: remove duplicate declarations Tom Tromey
@ 2008-11-25 11:43 ` Joel Brobecker
2008-11-25 17:23 ` Tom Tromey
0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2008-11-25 11:43 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
> I didn't do a regression test on this since simply building it seemed
> sufficient.
I agree.
> 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.
Absolutely. Obvious, even.
--
Joel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [multiprocess] RFA: remove duplicate declarations
2008-11-25 11:43 ` Joel Brobecker
@ 2008-11-25 17:23 ` Tom Tromey
0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2008-11-25 17:23 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>> * inferior.h (number_of_inferiors, first_inferior_in_set,
>> set_inferior_exec, inferior_list): Remove duplicate declarations.
Joel> Absolutely. Obvious, even.
Thanks, I checked this in on the branch.
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-25 0:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-24 21:12 [multiprocess] RFA: remove duplicate declarations Tom Tromey
2008-11-25 11:43 ` Joel Brobecker
2008-11-25 17:23 ` Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox