summaryrefslogtreecommitdiffstats
path: root/utils/disassembler/arm/main.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-08-01 22:19:22 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-08-01 22:19:22 +0000
commitc5b52205954326e680ed679c47808433595f6f39 (patch)
treefc0760d86bfa9d5fa68eb2833195dba9b8ec2b9b /utils/disassembler/arm/main.c
parent0b8dd125c3744fbfd4b3162de7882f5dd60f5e0a (diff)
downloadrockbox-c5b52205954326e680ed679c47808433595f6f39.tar.gz
rockbox-c5b52205954326e680ed679c47808433595f6f39.tar.bz2
rockbox-c5b52205954326e680ed679c47808433595f6f39.zip
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.c8
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;
}