diff options
Diffstat (limited to 'utils/disassembler/arm/main.c')
-rw-r--r-- | utils/disassembler/arm/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/disassembler/arm/main.c b/utils/disassembler/arm/main.c index 834dc5ff93..59dad48176 100644 --- a/utils/disassembler/arm/main.c +++ b/utils/disassembler/arm/main.c | |||
@@ -10,7 +10,7 @@ ULONG isdata[1000000]; /* each bit defines one byte as: code=0, data=1 */ | |||
10 | 10 | ||
11 | extern void dis_asm(ULONG off, ULONG val, char *stg); | 11 | extern void dis_asm(ULONG off, ULONG val, char *stg); |
12 | 12 | ||
13 | void main(int argc, char **argv) | 13 | int main(int argc, char **argv) |
14 | { | 14 | { |
15 | FILE *in, *out; | 15 | FILE *in, *out; |
16 | char *ptr, stg[256]; | 16 | char *ptr, stg[256]; |
@@ -20,7 +20,7 @@ void main(int argc, char **argv) | |||
20 | 20 | ||
21 | if(argc == 1 || strcmp(argv[1], "--help") == 0) | 21 | if(argc == 1 || strcmp(argv[1], "--help") == 0) |
22 | { printf("Usage: arm_disass [input file]\n"); | 22 | { printf("Usage: arm_disass [input file]\n"); |
23 | printf(" disassembles input file to 'disasm.txt'"); | 23 | printf(" disassembles input file to 'disasm.txt'\n"); |
24 | exit(-1); | 24 | exit(-1); |
25 | } | 25 | } |
26 | 26 | ||
@@ -115,4 +115,4 @@ void main(int argc, char **argv) | |||
115 | } | 115 | } |
116 | 116 | ||
117 | fclose(in); | 117 | fclose(in); |
118 | } \ No newline at end of file | 118 | } |