mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
Limit more variables to file scope
Change-Id: I30219d626316776eb73b4205d63376fa3dbc6361
This commit is contained in:
parent
85c98bc63c
commit
2a3e1628a5
21 changed files with 70 additions and 77 deletions
|
@ -381,16 +381,16 @@ void start (void);
|
|||
#define IO_VEC 33
|
||||
#define USER_VEC 127
|
||||
|
||||
char in_nmi; /* Set when handling an NMI, so we don't reenter */
|
||||
int dofault; /* Non zero, bus errors will raise exception */
|
||||
static char in_nmi; /* Set when handling an NMI, so we don't reenter */
|
||||
static int dofault; /* Non zero, bus errors will raise exception */
|
||||
|
||||
int *stub_sp;
|
||||
static int *stub_sp;
|
||||
|
||||
/* debug > 0 prints ill-formed commands in valid packets & checksum errors */
|
||||
int remote_debug;
|
||||
static int remote_debug;
|
||||
|
||||
/* jump buffer used for setjmp/longjmp */
|
||||
jmp_buf remcomEnv;
|
||||
static jmp_buf remcomEnv;
|
||||
|
||||
enum regnames
|
||||
{
|
||||
|
@ -407,9 +407,9 @@ typedef struct
|
|||
}
|
||||
stepData;
|
||||
|
||||
int registers[NUMREGBYTES / 4];
|
||||
stepData instrBuffer;
|
||||
char stepped;
|
||||
static int registers[NUMREGBYTES / 4];
|
||||
static stepData instrBuffer;
|
||||
static char stepped;
|
||||
static const char hexchars[] = "0123456789abcdef";
|
||||
static char remcomInBuffer[BUFMAX];
|
||||
static char remcomOutBuffer[BUFMAX];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue