From c12a9848148bb3babf9a29bd965d82f79ecfba27 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 2 Feb 2023 14:38:20 +0100 Subject: qga: Clean up includes This commit was created with scripts/clean-includes. All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Markus Armbruster Reviewed-by: Konstantin Kostiuk Reviewed-by: Michael S. Tsirkin Message-Id: <20230202133830.2152150-11-armbru@redhat.com> --- qga/cutils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'qga/cutils.h') diff --git a/qga/cutils.h b/qga/cutils.h index f0f30a7..c1f2f4b 100644 --- a/qga/cutils.h +++ b/qga/cutils.h @@ -1,8 +1,6 @@ #ifndef CUTILS_H_ #define CUTILS_H_ -#include "qemu/osdep.h" - int qga_open_cloexec(const char *name, int flags, mode_t mode); #endif /* CUTILS_H_ */ -- cgit v1.1