diff options
| author | Markus Armbruster <armbru@redhat.com> | 2023-02-02 14:38:15 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2023-02-08 07:16:23 +0100 |
| commit | 48e438a3aaf9697d69902dd7f16c0655142dfa8e (patch) | |
| tree | 6201952ec881dd24d3a3edebc13db1382a48919c /bsd-user/main.c | |
| parent | d598d9746e87cea8e92acd0d4f4320fe5d854440 (diff) | |
| download | focaccia-qemu-48e438a3aaf9697d69902dd7f16c0655142dfa8e.tar.gz focaccia-qemu-48e438a3aaf9697d69902dd7f16c0655142dfa8e.zip | |
bsd-user: 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 <armbru@redhat.com> Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20230202133830.2152150-6-armbru@redhat.com>
Diffstat (limited to 'bsd-user/main.c')
| -rw-r--r-- | bsd-user/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c index 6f09180d65..41290e16f9 100644 --- a/bsd-user/main.c +++ b/bsd-user/main.c @@ -18,12 +18,10 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include <sys/types.h> -#include <sys/time.h> +#include "qemu/osdep.h" #include <sys/resource.h> #include <sys/sysctl.h> -#include "qemu/osdep.h" #include "qemu/help-texts.h" #include "qemu/units.h" #include "qemu/accel.h" |