aboutsummaryrefslogtreecommitdiff
path: root/hw/net/dp8393x.c
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2024-08-27 13:01:47 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2024-09-20 08:06:56 +0300
commit5691f4778eb5061fa2e6d18c45a6ed7170d447a1 (patch)
tree37ec1c19c1aeefcff0df64174fcc5d0539174281 /hw/net/dp8393x.c
parent01dc65a3bc262ab1bec8fe89775e9bbfa627becb (diff)
downloadqemu-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/dp8393x.c')
-rw-r--r--hw/net/dp8393x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c
index 09d708f..c097730 100644
--- a/hw/net/dp8393x.c
+++ b/hw/net/dp8393x.c
@@ -27,7 +27,7 @@
#include "qapi/error.h"
#include "qemu/module.h"
#include "qemu/timer.h"
-#include <zlib.h>
+#include <zlib.h> /* for crc32 */
#include "qom/object.h"
#include "trace.h"