diff options
author | John Levon <john.levon@nutanix.com> | 2021-04-13 14:19:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 14:19:57 +0100 |
commit | b0cba8d875a19e1c086ca93844d68ff42f0b0a54 (patch) | |
tree | 8a5c849af5a0628e2d1798b838909ee127841526 /lib/migration_priv.h | |
parent | 59cc98aa2fa8f7e1713c90a534b37970fa526164 (diff) | |
download | libvfio-user-b0cba8d875a19e1c086ca93844d68ff42f0b0a54.zip libvfio-user-b0cba8d875a19e1c086ca93844d68ff42f0b0a54.tar.gz libvfio-user-b0cba8d875a19e1c086ca93844d68ff42f0b0a54.tar.bz2 |
drop use of __u* types (#438)
As we are now pure userspace, there is no need for us to use non-standard
integer types. This leaves the copied defines from Linux's vfio.h alone,
however.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib/migration_priv.h')
-rw-r--r-- | lib/migration_priv.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/migration_priv.h b/lib/migration_priv.h index b8a8734..bf47621 100644 --- a/lib/migration_priv.h +++ b/lib/migration_priv.h @@ -59,14 +59,14 @@ struct migration { */ struct { enum migr_iter_state state; - __u64 pending_bytes; - __u64 offset; - __u64 size; + uint64_t pending_bytes; + uint64_t offset; + uint64_t size; } iter; }; struct migr_state_data { - __u32 state; + uint32_t state; const char *name; }; |