* linux-low.c: Include <errno.h>. Remove extern declaration of
authorDaniel Jacobowitz <drow@false.org>
Fri, 12 Mar 2004 20:51:50 +0000 (20:51 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 12 Mar 2004 20:51:50 +0000 (20:51 +0000)
errno.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c

index a389f0f..e718fa6 100644 (file)
@@ -1,5 +1,10 @@
 2004-03-12  Daniel Jacobowitz  <drow@mvista.com>
 
+       * linux-low.c: Include <errno.h>.  Remove extern declaration of
+       errno.
+
+2004-03-12  Daniel Jacobowitz  <drow@mvista.com>
+
        * gdbreplay.c, server.h, utils.c: Update copyright years.
 
 2004-03-04  Nathan J. Williams  <nathanw@wasabisystems.com>
index 69b35c1..a3d6a54 100644 (file)
@@ -34,6 +34,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <errno.h>
 
 /* ``all_threads'' is keyed by the LWP ID - it should be the thread ID instead,
    however.  This requires changing the ID in place when we go from !using_threads
@@ -69,8 +70,6 @@ struct pending_signals
 static int use_regsets_p = 1;
 #endif
 
-extern int errno;
-
 int debug_threads = 0;
 
 #define pid_of(proc) ((proc)->head.id)