Skip to content

Commit

Permalink
Fix non-first inclusions of qemu/osdep.h
Browse files Browse the repository at this point in the history
This commit was created with scripts/clean-includes.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20230202133830.2152150-18-armbru@redhat.com>
  • Loading branch information
Markus Armbruster committed Feb 8, 2023
1 parent d35d504 commit 2ca10fa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion audio/sndioaudio.c
Expand Up @@ -14,9 +14,9 @@
* to recording, which is what guest systems expect.
*/

#include "qemu/osdep.h"
#include <poll.h>
#include <sndio.h>
#include "qemu/osdep.h"
#include "qemu/main-loop.h"
#include "audio.h"
#include "trace.h"
Expand Down
2 changes: 1 addition & 1 deletion backends/hostmem-epc.c
Expand Up @@ -9,9 +9,9 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include <sys/ioctl.h>

#include "qemu/osdep.h"
#include <sys/ioctl.h>
#include "qom/object_interfaces.h"
#include "qapi/error.h"
#include "sysemu/hostmem.h"
Expand Down
2 changes: 1 addition & 1 deletion block/export/vduse-blk.c
Expand Up @@ -10,9 +10,9 @@
* later. See the COPYING file in the top-level directory.
*/

#include "qemu/osdep.h"
#include <sys/eventfd.h>

#include "qemu/osdep.h"
#include "qapi/error.h"
#include "block/export.h"
#include "qemu/error-report.h"
Expand Down
2 changes: 1 addition & 1 deletion hw/hyperv/syndbg.c
Expand Up @@ -5,8 +5,8 @@
* See the COPYING file in the top-level directory.
*/

#include "qemu/ctype.h"
#include "qemu/osdep.h"
#include "qemu/ctype.h"
#include "qemu/error-report.h"
#include "qemu/main-loop.h"
#include "qemu/sockets.h"
Expand Down
8 changes: 2 additions & 6 deletions util/async-teardown.c
Expand Up @@ -10,16 +10,12 @@
* option) any later version. See the COPYING file in the top-level directory.
*
*/
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>

#include "qemu/osdep.h"
#include <dirent.h>
#include <sys/prctl.h>
#include <signal.h>
#include <sched.h>
#include <unistd.h>

#include "qemu/osdep.h"
#include "qemu/async-teardown.h"

#ifdef _SC_THREAD_STACK_MIN
Expand Down

0 comments on commit 2ca10fa

Please sign in to comment.