Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Richard Henderson <rth@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] fix redeclaration error flagged by cvs gcc
Date: Thu, 17 Apr 2003 23:08:00 -0000	[thread overview]
Message-ID: <20030417230850.GA29204@nevyn.them.org> (raw)
In-Reply-To: <20030417160235.A340@redhat.com>

On Thu, Apr 17, 2003 at 04:02:35PM -0700, Richard Henderson wrote:
> remote.c:5748: error: variable previously declared `static' redeclared `extern'
> remote.c:5749: error: variable previously declared `static' redeclared `extern'
> 
> Ok?

Yes, thanks.

> 
> 
> r~
> 
> 
> 	* remote.c (minitelnet): Don't redeclare escape_count, echo_check.
> 
> Index: remote.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/remote.c,v
> retrieving revision 1.95
> diff -c -p -d -r1.95 remote.c
> *** remote.c	20 Feb 2003 13:43:14 -0000	1.95
> --- remote.c	17 Apr 2003 22:57:23 -0000
> *************** minitelnet (void)
> *** 5745,5753 ****
>     int status;
>     int quit_count = 0;
>   
> -   extern int escape_count;	/* global shared by readsocket */
> -   extern int echo_check;	/* ditto */
> - 
>     escape_count = 0;
>     echo_check = -1;
>   
> --- 5745,5750 ----
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


      reply	other threads:[~2003-04-17 23:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-17 23:02 Richard Henderson
2003-04-17 23:08 ` Daniel Jacobowitz [this message]

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=20030417230850.GA29204@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=rth@redhat.com \
    /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