aboutsummaryrefslogtreecommitdiff
path: root/lib/irq.c
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-04-13 14:19:57 +0100
committerGitHub <noreply@github.com>2021-04-13 14:19:57 +0100
commitb0cba8d875a19e1c086ca93844d68ff42f0b0a54 (patch)
tree8a5c849af5a0628e2d1798b838909ee127841526 /lib/irq.c
parent59cc98aa2fa8f7e1713c90a534b37970fa526164 (diff)
downloadlibvfio-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/irq.c b/lib/irq.c
index 3547df5..25eb31b 100644
--- a/lib/irq.c
+++ b/lib/irq.c
@@ -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);