diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-04-12 16:54:50 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-04-12 16:54:50 +0000 |
commit | 038d861eded9bfc75529e23ba8d5d6edd5e3ef98 (patch) | |
tree | 8383e607cb9bdcba3beef5d831e8a0f6e175f28c /ndisasm.c | |
parent | 2030bd21f4923d4ddd4c093f8756451fc35220f8 (diff) | |
download | nasm-038d861eded9bfc75529e23ba8d5d6edd5e3ef98.tar.gz nasm-038d861eded9bfc75529e23ba8d5d6edd5e3ef98.tar.bz2 nasm-038d861eded9bfc75529e23ba8d5d6edd5e3ef98.zip |
Remove obsolete types; add <inttypes.h> where needed; header fixes
- Remove obsolete types like "uint32"; use "uint32_t" consistently.
- Make sure we include <inttypes.h> where needed.
- Header file guards should be FOO_H or SUBDIR_FOO_H; _FOO_H infringes
on the C implementation's namespace and should only be used when
writing libc!
- Change a few "int8_t" back to "char" where appropriate. There are
a lot more places where that should be done, though.
- Clean up the check for getuid/getgid in rdoff/rdlar.h.
Diffstat (limited to 'ndisasm.c')
-rw-r--r-- | ndisasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ static const int8_t *help = static void output_ins(uint32_t, uint8_t *, int, int8_t *); static void skip(uint32_t dist, FILE * fp); -int main(int argc, int8_t **argv) +int main(int argc, char **argv) { uint8_t buffer[INSN_MAX * 2], *p, *q; int8_t outbuf[256]; |