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/irq.c | |
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/irq.c')
-rw-r--r-- | lib/irq.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -162,7 +162,7 @@ static int irqs_set_data_none(vfu_ctx_t *vfu_ctx, struct vfio_irq_set *irq_set) { int efd; - __u32 i; + uint32_t i; long ret; eventfd_t val; @@ -187,7 +187,7 @@ irqs_set_data_bool(vfu_ctx_t *vfu_ctx, struct vfio_irq_set *irq_set, void *data) { uint8_t *d8; int efd; - __u32 i; + uint32_t i; long ret; eventfd_t val; @@ -214,7 +214,7 @@ irqs_set_data_eventfd(vfu_ctx_t *vfu_ctx, struct vfio_irq_set *irq_set, int *data) { int efd; - __u32 i; + uint32_t i; size_t j; assert(data != NULL); |