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 /hw/net/rtl8139.c | |
parent | 01dc65a3bc262ab1bec8fe89775e9bbfa627becb (diff) | |
download | qemu-5691f4778eb5061fa2e6d18c45a6ed7170d447a1.zip qemu-5691f4778eb5061fa2e6d18c45a6ed7170d447a1.tar.gz qemu-5691f4778eb5061fa2e6d18c45a6ed7170d447a1.tar.bz2 |
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 'hw/net/rtl8139.c')
-rw-r--r-- | hw/net/rtl8139.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c index 1b78deb..bc56075 100644 --- a/hw/net/rtl8139.c +++ b/hw/net/rtl8139.c @@ -48,10 +48,8 @@ * 2011-Mar-22 Benjamin Poirier: Implemented VLAN offloading */ -/* For crc32 */ - #include "qemu/osdep.h" -#include <zlib.h> +#include <zlib.h> /* for crc32 */ #include "hw/pci/pci_device.h" #include "hw/qdev-properties.h" |