diff options
author | Michael Tokarev <mjt@tls.msk.ru> | 2024-08-27 13:01:47 +0300 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-09-20 08:06:56 +0300 |
commit | 5691f4778eb5061fa2e6d18c45a6ed7170d447a1 (patch) | |
tree | 37ec1c19c1aeefcff0df64174fcc5d0539174281 /target/loongarch | |
parent | 01dc65a3bc262ab1bec8fe89775e9bbfa627becb (diff) |
mark <zlib.h> with for-crc32 in a consistent manner
in many cases, <zlib.h> is only included for crc32 function,
and in some of them, there's a comment saying that, but in
a different way. In one place (hw/net/rtl8139.c), there was
another #include added between the comment and <zlib.h> include.
Make all such comments to be on the same line as #include, make
it consistent, and also add a few missing comments, including
hw/nvram/mac_nvram.c which uses adler32 instead.
There's no code changes.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target/loongarch')
-rw-r--r-- | target/loongarch/tcg/op_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/loongarch/tcg/op_helper.c b/target/loongarch/tcg/op_helper.c index fe79c62fa4..b17208e5b9 100644 --- a/target/loongarch/tcg/op_helper.c +++ b/target/loongarch/tcg/op_helper.c @@ -14,7 +14,7 @@ #include "exec/cpu_ldst.h" #include "internals.h" #include "qemu/crc32c.h" -#include <zlib.h> +#include <zlib.h> /* for crc32 */ #include "cpu-csr.h" /* Exceptions helpers */ |