diff options
author | Richard Henderson <rth@twiddle.net> | 2013-09-14 15:38:30 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-10-10 11:43:37 -0700 |
commit | f5daeec412b9624ba902bdba26edff88a1694ea6 (patch) | |
tree | 2ef10c83fc3ed1fe41af0a5662c2648a1a258ee8 /target-alpha/helper.h | |
parent | 5cd8f6210f83db15702e81b91e40e7079608e6f3 (diff) | |
download | qemu-f5daeec412b9624ba902bdba26edff88a1694ea6.zip qemu-f5daeec412b9624ba902bdba26edff88a1694ea6.tar.gz qemu-f5daeec412b9624ba902bdba26edff88a1694ea6.tar.bz2 |
tcg: Remove stray semi-colons from target-*/helper.h
During GEN_HELPER=1, these are actually stray top-level semi-colons
which are technically invalid ISO C, but GCC accepts as an extension.
If we added enough __extension__ markers that we could dare use
-Wpedantic, we'd see
warning: ISO C does not allow extra ‘;’ outside of a function
This will become a hard error in the next patch, wherein those ; will
appear in the middle of a data structure.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/helper.h')
-rw-r--r-- | target-alpha/helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/helper.h b/target-alpha/helper.h index 732b701..5a0e78c 100644 --- a/target-alpha/helper.h +++ b/target-alpha/helper.h @@ -114,7 +114,7 @@ DEF_HELPER_FLAGS_1(tbia, TCG_CALL_NO_RWG, void, env) DEF_HELPER_FLAGS_2(tbis, TCG_CALL_NO_RWG, void, env, i64) DEF_HELPER_FLAGS_1(tb_flush, TCG_CALL_NO_RWG, void, env) -DEF_HELPER_1(halt, void, i64); +DEF_HELPER_1(halt, void, i64) DEF_HELPER_FLAGS_0(get_vmtime, TCG_CALL_NO_RWG, i64) DEF_HELPER_FLAGS_0(get_walltime, TCG_CALL_NO_RWG, i64) |