Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Commit

Permalink
qga: Remove unnecessary glib.h includes
Browse files Browse the repository at this point in the history
Remove glib.h includes, as it is provided by osdep.h.

This commit was created with scripts/clean-includes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
pm215 authored and Michael Tokarev committed Jun 7, 2016
1 parent 79ffb27 commit 36a2c2d
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion qga/channel-posix.c
@@ -1,5 +1,4 @@
#include "qemu/osdep.h"
#include <glib.h>
#include <termios.h>
#include "qapi/error.h"
#include "qemu/sockets.h"
Expand Down
1 change: 0 additions & 1 deletion qga/channel-win32.c
@@ -1,5 +1,4 @@
#include "qemu/osdep.h"
#include <glib.h>
#include <windows.h>
#include <io.h>
#include "qga/guest-agent-core.h"
Expand Down
1 change: 0 additions & 1 deletion qga/channel.h
Expand Up @@ -12,7 +12,6 @@
#ifndef QGA_CHANNEL_H
#define QGA_CHANNEL_H

#include <glib.h>

typedef struct GAChannel GAChannel;

Expand Down
1 change: 0 additions & 1 deletion qga/commands-posix.c
Expand Up @@ -12,7 +12,6 @@
*/

#include "qemu/osdep.h"
#include <glib.h>
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <dirent.h>
Expand Down
1 change: 0 additions & 1 deletion qga/commands-win32.c
Expand Up @@ -12,7 +12,6 @@
*/

#include "qemu/osdep.h"
#include <glib.h>
#include <wtypes.h>
#include <powrprof.h>
#include <winsock2.h>
Expand Down
1 change: 0 additions & 1 deletion qga/commands.c
Expand Up @@ -11,7 +11,6 @@
*/

#include "qemu/osdep.h"
#include <glib.h>
#include "qga/guest-agent-core.h"
#include "qga-qmp-commands.h"
#include "qapi/qmp/qerror.h"
Expand Down
1 change: 0 additions & 1 deletion qga/guest-agent-command-state.c
Expand Up @@ -10,7 +10,6 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include "qga/guest-agent-core.h"

struct GACommandState {
Expand Down
1 change: 0 additions & 1 deletion qga/main.c
Expand Up @@ -11,7 +11,6 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include <getopt.h>
#include <glib/gstdio.h>
#ifndef _WIN32
Expand Down
1 change: 0 additions & 1 deletion qga/service-win32.c
Expand Up @@ -11,7 +11,6 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib.h>
#include <windows.h>
#include "qga/service-win32.h"

Expand Down

0 comments on commit 36a2c2d

Please sign in to comment.