diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-08-01 22:19:22 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-08-01 22:19:22 +0000 |
commit | c5b52205954326e680ed679c47808433595f6f39 (patch) | |
tree | fc0760d86bfa9d5fa68eb2833195dba9b8ec2b9b /utils/disassembler/arm/main.c | |
parent | 0b8dd125c3744fbfd4b3162de7882f5dd60f5e0a (diff) |
FS#7182: Second attempt by Dave Chapman at getting ARM disassembler to compile in Linux. This version produces identical output to the Windows version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14128 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/disassembler/arm/main.c')
-rw-r--r-- | utils/disassembler/arm/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/disassembler/arm/main.c b/utils/disassembler/arm/main.c index 59dad48176..812f80779f 100644 --- a/utils/disassembler/arm/main.c +++ b/utils/disassembler/arm/main.c @@ -1,10 +1,11 @@ #include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <stdint.h>
-#define ULONG unsigned long
-#define USHORT unsigned short
-#define UCHAR unsigned char
+#define ULONG uint32_t
+#define USHORT uint16_t
+#define UCHAR uint8_t
ULONG isdata[1000000]; /* each bit defines one byte as: code=0, data=1 */
@@ -115,4 +116,5 @@ int main(int argc, char **argv) }
fclose(in);
+ return 0;
}
|