]> Git Repo - qemu.git/commit
Drop unneeded system header includes
authorEric Blake <[email protected]>
Wed, 7 Feb 2018 16:03:02 +0000 (10:03 -0600)
committerMichael Tokarev <[email protected]>
Sat, 10 Feb 2018 07:07:40 +0000 (10:07 +0300)
commit38272f2d02fb855a2f76c510d4386f699b88cae5
treea4d490c166039c35d1565cfaf6f38294bf286e8a
parente80200c567ceb01a6f133cb0bf4fade09c395251
Drop unneeded system header includes

<memory.h> is a non-standard obsolete header that was long ago
replaced by <string.h>.

<malloc.h> is a non-standard header; it is not obsolete (we must
use it for malloc_trim, for example), but generally should not
be used in files that just need malloc() and friends, where
<stdlib.h> is the standard header.

And since osdep.h already guarantees string.h and stdlib.h, we
can drop these unusual system header includes as redundant
rather than replacing them.

Signed-off-by: Eric Blake <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
target/i386/hax-windows.h
target/i386/hvf/x86_mmu.c
This page took 0.025996 seconds and 4 git commands to generate.