mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
* linux-low.c: Include <errno.h>. Remove extern declaration of
errno.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user