This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Don't declare "extern int errno;"
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 21 Oct 2003 17:41:03 -0400
- Subject: [commit] Don't declare "extern int errno;"
Hello,
This patch removes the:
extern int errno;
declaration from "target.c". Other files that refer to "errno" don't do
this so I've eliminated this one.
committed,
Andrew
2003-10-21 Andrew Cagney <cagney@redhat.com>
* target.c (errno): Delete extern declaration.
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.59
diff -u -r1.59 target.c
--- target.c 17 Oct 2003 20:17:51 -0000 1.59
+++ target.c 21 Oct 2003 21:28:57 -0000
@@ -37,8 +37,6 @@
#include <signal.h>
#include "regcache.h"
-extern int errno;
-
static void target_info (char *, int);
static void maybe_kill_then_create_inferior (char *, char *, char **);