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/bsd-proc.h | |
parent | d598d9746e87cea8e92acd0d4f4320fe5d854440 (diff) | |
download | qemu-48e438a3aaf9697d69902dd7f16c0655142dfa8e.zip qemu-48e438a3aaf9697d69902dd7f16c0655142dfa8e.tar.gz qemu-48e438a3aaf9697d69902dd7f16c0655142dfa8e.tar.bz2 |
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/bsd-proc.h')
-rw-r--r-- | bsd-user/bsd-proc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bsd-user/bsd-proc.h b/bsd-user/bsd-proc.h index 68b66e5..a1061bf 100644 --- a/bsd-user/bsd-proc.h +++ b/bsd-user/bsd-proc.h @@ -20,11 +20,7 @@ #ifndef BSD_PROC_H_ #define BSD_PROC_H_ -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/time.h> #include <sys/resource.h> -#include <unistd.h> /* exit(2) */ static inline abi_long do_bsd_exit(void *cpu_env, abi_long arg1) |