Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA] fix redeclaration error flagged by cvs gcc
Date: Thu, 17 Apr 2003 23:02:00 -0000	[thread overview]
Message-ID: <20030417160235.A340@redhat.com> (raw)

remote.c:5748: error: variable previously declared `static' redeclared `extern'
remote.c:5749: error: variable previously declared `static' redeclared `extern'

Ok?


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 ----


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

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

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=20030417160235.A340@redhat.com \
    --to=rth@redhat.com \
    --cc=gdb-patches@sources.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