This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 **);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]