提交 36a2c2d6 编写于 作者: P Peter Maydell 提交者: Michael Tokarev

qga: Remove unnecessary glib.h includes

Remove glib.h includes, as it is provided by osdep.h.

This commit was created with scripts/clean-includes.
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: NEric Blake <eblake@redhat.com>
Tested-by: NEric Blake <eblake@redhat.com>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 79ffb277
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <glib.h>
#include <termios.h> #include <termios.h>
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/sockets.h" #include "qemu/sockets.h"
......
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <glib.h>
#include <windows.h> #include <windows.h>
#include <io.h> #include <io.h>
#include "qga/guest-agent-core.h" #include "qga/guest-agent-core.h"
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#ifndef QGA_CHANNEL_H #ifndef QGA_CHANNEL_H
#define QGA_CHANNEL_H #define QGA_CHANNEL_H
#include <glib.h>
typedef struct GAChannel GAChannel; typedef struct GAChannel GAChannel;
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <glib.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <dirent.h> #include <dirent.h>
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <glib.h>
#include <wtypes.h> #include <wtypes.h>
#include <powrprof.h> #include <powrprof.h>
#include <winsock2.h> #include <winsock2.h>
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <glib.h>
#include "qga/guest-agent-core.h" #include "qga/guest-agent-core.h"
#include "qga-qmp-commands.h" #include "qga-qmp-commands.h"
#include "qapi/qmp/qerror.h" #include "qapi/qmp/qerror.h"
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <glib.h>
#include "qga/guest-agent-core.h" #include "qga/guest-agent-core.h"
struct GACommandState { struct GACommandState {
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <glib.h>
#include <getopt.h> #include <getopt.h>
#include <glib/gstdio.h> #include <glib/gstdio.h>
#ifndef _WIN32 #ifndef _WIN32
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
* See the COPYING file in the top-level directory. * See the COPYING file in the top-level directory.
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <glib.h>
#include <windows.h> #include <windows.h>
#include "qga/service-win32.h" #include "qga/service-win32.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册