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 /test | |
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 'test')
-rw-r--r-- | test/unit-tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit-tests.c b/test/unit-tests.c index 4a628a0..5d92e5f 100644 --- a/test/unit-tests.c +++ b/test/unit-tests.c @@ -1333,8 +1333,8 @@ test_vfu_setup_device_dma(void **state UNUSED) static void test_migration_state_transitions(void **state UNUSED) { - bool (*f)(__u32, __u32) = vfio_migr_state_transition_is_valid; - __u32 i, j; + bool (*f)(uint32_t, uint32_t) = vfio_migr_state_transition_is_valid; + uint32_t i, j; /* from stopped (000b): all transitions are invalid */ assert_true(f(0, 0)); |