diff options
Diffstat (limited to 'ao-tools/ao-dbg/ao-dbg-main.c')
-rw-r--r-- | ao-tools/ao-dbg/ao-dbg-main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ao-tools/ao-dbg/ao-dbg-main.c b/ao-tools/ao-dbg/ao-dbg-main.c index 8c879035..772701a9 100644 --- a/ao-tools/ao-dbg/ao-dbg-main.c +++ b/ao-tools/ao-dbg/ao-dbg-main.c @@ -50,7 +50,8 @@ usage(void) exit(1); } -void s51_sigint() +static void +s51_sigint(int signum) { s51_interrupted = 1; } @@ -64,7 +65,7 @@ static const struct option options[] = { int main(int argc, char **argv) { - int flags, opt; + int opt; char *endptr; while ((opt = getopt_long(argc, argv, "PVvHhmt:X:c:r:Z:s:S:p:T:", options, NULL)) != -1) { @@ -242,7 +243,6 @@ s51_check_input(void) { struct pollfd input; int r; - int c; input.fd = fileno(s51_input); input.events = POLLIN; |