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/stellaris_enet.c | |
| parent | 01dc65a3bc262ab1bec8fe89775e9bbfa627becb (diff) | |
| download | focaccia-qemu-5691f4778eb5061fa2e6d18c45a6ed7170d447a1.tar.gz focaccia-qemu-5691f4778eb5061fa2e6d18c45a6ed7170d447a1.zip | |
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/stellaris_enet.c')
| -rw-r--r-- | hw/net/stellaris_enet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/stellaris_enet.c b/hw/net/stellaris_enet.c index 08e5393151..9ebff296c4 100644 --- a/hw/net/stellaris_enet.c +++ b/hw/net/stellaris_enet.c @@ -15,7 +15,7 @@ #include "net/net.h" #include "qemu/log.h" #include "qemu/module.h" -#include <zlib.h> +#include <zlib.h> /* for crc32 */ #include "qom/object.h" //#define DEBUG_STELLARIS_ENET 1 |