aboutsummaryrefslogtreecommitdiff
path: root/include/libvfio-user.h
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-02-18 16:11:33 +0000
committerGitHub <noreply@github.com>2021-02-18 16:11:33 +0000
commitaf3118fb5eeb37ac5ace4bdfaa45b02ba78ddd7f (patch)
treeb4f5f2a8ccaeb5c2a686fe1bbd77c340d35858bf /include/libvfio-user.h
parentc4f6f81007cf6ab720067d8f8e9288c5dfd5a720 (diff)
downloadlibvfio-user-af3118fb5eeb37ac5ace4bdfaa45b02ba78ddd7f.zip
libvfio-user-af3118fb5eeb37ac5ace4bdfaa45b02ba78ddd7f.tar.gz
libvfio-user-af3118fb5eeb37ac5ace4bdfaa45b02ba78ddd7f.tar.bz2
use UNUSED consistently (#350)
Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'include/libvfio-user.h')
-rw-r--r--include/libvfio-user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libvfio-user.h b/include/libvfio-user.h
index 68307cb..4c9ac6f 100644
--- a/include/libvfio-user.h
+++ b/include/libvfio-user.h
@@ -664,7 +664,7 @@ enum {
*/
int
vfu_pci_init(vfu_ctx_t *vfu_ctx, vfu_pci_type_t pci_type,
- int hdr_type, int revision __attribute__((unused)));
+ int hdr_type, int revision);
/*
* Set the Vendor ID, Device ID, Subsystem Vendor ID, and Subsystem ID fields of