aboutsummaryrefslogtreecommitdiff
path: root/dyngen.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-08 22:51:41 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-08 22:51:41 +0000
commit85028e4db6b92b9b2f0282971efdb0a0144bfcd3 (patch)
tree341b8e8db15f327df47555f6d4e21164127aa3fb /dyngen.c
parent3bdd58a4dfaf284868e7b34f29ae74c60ad23ac9 (diff)
Spelling fixes, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2790 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.c')
-rw-r--r--dyngen.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/dyngen.c b/dyngen.c
index b8950b11dd..4ed48227e1 100644
--- a/dyngen.c
+++ b/dyngen.c
@@ -1750,8 +1750,9 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
}
#endif
#if defined(__APPLE__)
-/* set __attribute((unused)) on darwin because we wan't to avoid warning when we don't use the symbol */
- fprintf(outfile, "extern char %s __attribute__((unused));\n", sym_name);
+ /* Set __attribute((unused)) on darwin because we
+ want to avoid warning when we don't use the symbol. */
+ fprintf(outfile, " extern char %s __attribute__((unused));\n", sym_name);
#elif defined(HOST_IA64)
if (ELF64_R_TYPE(rel->r_info) != R_IA64_PCREL21B)
/*
@@ -1836,7 +1837,7 @@ void gen_code(const char *name, host_ulong offset, host_ulong size,
}
}
- /* load parameres in variables */
+ /* load parameters in variables */
for(i = 0; i < nb_args; i++) {
fprintf(outfile, " param%d = *opparam_ptr++;\n", i + 1);
}