* linux-low.c: Include <errno.h>. Remove extern declaration of
errno.
This commit is contained in:
parent
6d782a97bd
commit
fa6a77dc8f
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2004-03-12 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* gdbreplay.c, server.h, utils.c: Update copyright years.
|
* gdbreplay.c, server.h, utils.c: Update copyright years.
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
/* ``all_threads'' is keyed by the LWP ID - it should be the thread ID instead,
|
/* ``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
|
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;
|
static int use_regsets_p = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern int errno;
|
|
||||||
|
|
||||||
int debug_threads = 0;
|
int debug_threads = 0;
|
||||||
|
|
||||||
#define pid_of(proc) ((proc)->head.id)
|
#define pid_of(proc) ((proc)->head.id)
|
||||||
|
|
Loading…
Add table
Reference in a new issue