mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
01dc65a3bc
commit
5691f4778e
15 changed files with 15 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue