Move inclusion of stdbool.h to common header files, instead of including
in an ad-hoc manner.
Signed-off-by: Paul Brook <paul@codesourcery.com>
14 files changed:
#include "block_int.h"
#include "module.h"
-#include <stdbool.h>
-
typedef struct BlkdebugVars {
int state;
*
*/
#include <check.h>
-#include <stdbool.h>
#include "qstring.h"
#include "qint.h"
host headers do not allow that. */
#include <stddef.h>
#include <stdint.h>
+#include <stdbool.h>
#ifdef __OpenBSD__
#include <sys/types.h>
#ifndef QEMU_9P_H
#define QEMU_9P_H
-#include <stdbool.h>
-
typedef struct V9fsConf
{
/* tag name for the device */
* * Wake-on-LAN is not implemented.
*/
-#include <stdbool.h> /* bool */
#include <stddef.h> /* offsetof */
#include "hw.h"
#include "pci.h"
#include "cpu-common.h"
#endif
-#include <stdbool.h>
#include "ioport.h"
#include "irq.h"
#ifndef _QEMU_VIRTIO_SERIAL_H
#define _QEMU_VIRTIO_SERIAL_H
-#include <stdbool.h>
#include "qdev.h"
#include "virtio.h"
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
-#include <stdbool.h>
#include <sys/mman.h>
#include <errno.h>
#include <stdio.h>
*
*/
-#include <stdbool.h>
#include <stdarg.h>
#include "qemu-common.h"
#ifndef QEMU_KVM_H
#define QEMU_KVM_H
-#include <stdbool.h>
#include <errno.h>
#include "config-host.h"
#include "qemu-queue.h"
#define NBD_H
#include <sys/types.h>
-#include <stdbool.h>
#include <qemu-common.h>
#include "block_int.h"
#ifndef QEMU_NET_H
#define QEMU_NET_H
-#include <stdbool.h>
#include "qemu-queue.h"
#include "qemu-common.h"
#include "qdict.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
+#include <stdbool.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
* THE SOFTWARE.
*/
-#include <stdbool.h>
-
#include "qdict.h"
#include "qint.h"
#include "vnc.h"