[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PULL 28/52] clean-includes: Add glib.h to list of unneed
From: |
Michael Tokarev |
Subject: |
[Qemu-trivial] [PULL 28/52] clean-includes: Add glib.h to list of unneeded includes |
Date: |
Sun, 5 Jun 2016 10:43:05 +0300 |
From: Peter Maydell <address@hidden>
osdep.h pulls in glib.h via glib-compat.h, so add it to the list of
includes that we remove. (This then means we must avoid running
clean-includes on glib-compat.h or it will delete the glib.h include.)
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Tested-by: Eric Blake <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
scripts/clean-includes | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/clean-includes b/scripts/clean-includes
index adffedd..37b73b5 100755
--- a/scripts/clean-includes
+++ b/scripts/clean-includes
@@ -104,6 +104,7 @@ for f in "$@"; do
;;
*include/qemu/osdep.h | \
*include/qemu/compiler.h | \
+ *include/glib-compat.h | \
*include/standard-headers/ )
# Removing include lines from osdep.h itself would be counterproductive.
echo "SKIPPING $f (special case header)"
@@ -143,7 +144,7 @@ for f in "$@"; do
<setjmp.h> <stdarg.h> <stddef.h> <stdbool.h> <stdint.h>
<sys/types.h>
<stdlib.h> <stdio.h> <string.h> <strings.h> <inttypes.h>
<limits.h> <unistd.h> <time.h> <ctype.h> <errno.h> <fcntl.h>
- <sys/stat.h> <sys/time.h> <assert.h> <signal.h>
+ <sys/stat.h> <sys/time.h> <assert.h> <signal.h> <glib.h>
"sysemu/os-posix.h, sysemu/os-win32.h "glib-compat.h"
"qemu/typedefs.h"
))' "$f"
--
2.1.4
- [Qemu-trivial] [PULL 21/52] fw_cfg: follow CODING_STYLE, (continued)
- [Qemu-trivial] [PULL 21/52] fw_cfg: follow CODING_STYLE, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 02/52] hw/ipmi: fix spelling, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 16/52] configure: Use $(..) instead of deprecated `..`, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 41/52] block: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 22/52] replay: Clean up includes, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 45/52] SPICE: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 39/52] qcow/qcow2: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 03/52] docs: "specify" spell fix, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 33/52] host-utils: Prefer 'false' for bool type, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 49/52] linux-user: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 28/52] clean-includes: Add glib.h to list of unneeded includes,
Michael Tokarev <=
- [Qemu-trivial] [PULL 40/52] qed: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 48/52] slirp: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 47/52] usb: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 37/52] coccinelle: use macro DIV_ROUND_UP instead of (((n) + (d) - 1) /(d)), Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 44/52] audio: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 46/52] rocker: Use DIV_ROUND_UP, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 01/52] s390x/virtio-ccw: fix spelling, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 27/52] pc: cleanup unused struct PcRomPciInfo, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 17/52] scripts: Use $(..) instead of deprecated `..`, Michael Tokarev, 2016/06/05
- [Qemu-trivial] [PULL 26/52] e1000: Removing unnecessary if statement, Michael Tokarev, 2016/06/05