projects
/
emu8051.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c2d345
)
Move variable declaration before statements
author
Hugo Villeneuve
<hugo@hugovil.com>
Sun, 24 Nov 2013 18:08:42 +0000
(13:08 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Mon, 2 Dec 2013 01:49:06 +0000
(20:49 -0500)
src/emuconsole.c
patch
|
blob
|
history
diff --git
a/src/emuconsole.c
b/src/emuconsole.c
index
f29bbc5
..
79df39a
100644
(file)
--- a/
src/emuconsole.c
+++ b/
src/emuconsole.c
@@
-211,7
+211,7
@@
console_main(void)
{
unsigned int Index;
char *line = NULL;
-
+ int QuitRequest = 0;
char prompt[] = "-> ";
char *Title[] = { " *******************",
@@
-252,8
+252,6
@@
console_main(void)
console_reset();
- int QuitRequest = 0;
-
while (!QuitRequest) {
int slen;
size_t len = 0;