From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Doug Evans'" <dje@google.com>, <gdb-patches@sourceware.org>
Subject: RE: [ob] inferior_thread: Remove "extern" in definition.
Date: Fri, 27 Mar 2009 08:13:00 -0000 [thread overview]
Message-ID: <001001c9aeb2$e08b3140$a1a193c0$@u-strasbg.fr> (raw)
In-Reply-To: <20090326213807.2D1771C74E3@localhost>
I am just very curious here:
why does GCC accept such non-sense?
If it is the implementation, it can't be external at the same time...
Pierre Muller
Pascal language support maintainer for GDB
Still not a proficient C programmer :(
> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Doug Evans
> Envoyé : Thursday, March 26, 2009 10:38 PM
> À : gdb-patches@sourceware.org
> Objet : [ob] inferior_thread: Remove "extern" in definition.
>
> Hi.
>
> Committed as obvious.
>
> 2009-03-26 Doug Evans <dje@google.com>
>
> * thread.c (inferior_thread) Remove "extern" in definition.
>
> diff -u -p -r1.106 thread.c
> --- thread.c 25 Mar 2009 21:53:10 -0000 1.106
> +++ thread.c 26 Mar 2009 21:28:39 -0000
> @@ -72,7 +72,7 @@ enum thread_state
> THREAD_EXITED,
> };
>
> -extern struct thread_info*
> +struct thread_info*
> inferior_thread (void)
> {
> struct thread_info *tp = find_thread_pid (inferior_ptid);
next prev parent reply other threads:[~2009-03-27 8:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 22:06 Doug Evans
2009-03-27 8:13 ` Pierre Muller [this message]
2009-03-27 13:57 ` Andreas Schwab
2009-03-27 17:17 ` Pierre Muller
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='001001c9aeb2$e08b3140$a1a193c0$@u-strasbg.fr' \
--to=muller@ics.u-strasbg.fr \
--cc=dje@google.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