diff options
author | Markus Armbruster | 2018-02-01 12:18:28 +0100 |
---|---|---|
committer | Markus Armbruster | 2018-02-09 05:05:11 +0100 |
commit | d8e39b70625d4ba1e998439d1a077b4b978930e7 (patch) | |
tree | e12c529c79aaf80d2ef02efa1e677ef1d4ca4a51 /contrib/vhost-user-scsi | |
parent | vnc: use stubs for CONFIG_VNC=n dummy functions (diff) | |
download | qemu-d8e39b70625d4ba1e998439d1a077b4b978930e7.tar.gz qemu-d8e39b70625d4ba1e998439d1a077b4b978930e7.tar.xz qemu-d8e39b70625d4ba1e998439d1a077b4b978930e7.zip |
Use #include "..." for our own headers, <...> for others
System headers should be included with <...>, our own headers with
"...". Offenders tracked down with an ugly, brittle and probably
buggy Perl script. Previous iteration was commit a9c94277f0.
Delete inclusions of "string.h" and "strings.h" instead of fixing them
to <string.h> and <strings.h>, because we always include these via
osdep.h.
Put the cleaned up system header includes first.
While there, separate #include from file comment with exactly one
blank line.
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180201111846.21846-2-armbru@redhat.com>
Diffstat (limited to 'contrib/vhost-user-scsi')
-rw-r--r-- | contrib/vhost-user-scsi/vhost-user-scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/vhost-user-scsi/vhost-user-scsi.c b/contrib/vhost-user-scsi/vhost-user-scsi.c index 54c1191db0..02c29019d1 100644 --- a/contrib/vhost-user-scsi/vhost-user-scsi.c +++ b/contrib/vhost-user-scsi/vhost-user-scsi.c @@ -11,10 +11,10 @@ */ #include "qemu/osdep.h" +#include <iscsi/iscsi.h> +#include <iscsi/scsi-lowlevel.h> #include "contrib/libvhost-user/libvhost-user-glib.h" #include "standard-headers/linux/virtio_scsi.h" -#include "iscsi/iscsi.h" -#include "iscsi/scsi-lowlevel.h" #include <glib.h> |