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/cadence_gem.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/cadence_gem.c')
| -rw-r--r-- | hw/net/cadence_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c index 44a5e65b8f..526739887c 100644 --- a/hw/net/cadence_gem.c +++ b/hw/net/cadence_gem.c @@ -23,7 +23,7 @@ */ #include "qemu/osdep.h" -#include <zlib.h> /* For crc32 */ +#include <zlib.h> /* for crc32 */ #include "hw/irq.h" #include "hw/net/cadence_gem.h" |