aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSwapnil Ingle <swapnil.ingle@nutanix.com>2020-11-12 05:08:04 -0500
committerSwapnil Ingle <swapnil.ingle@nutanix.com>2020-11-12 09:40:36 -0500
commitbc14a86815855af69141d4c6a44dbda24c270757 (patch)
tree5045e90fef5e9a2d7031b39b27afac499ad0cdf6 /lib
parentb0c8341d6fdd34988a3cdf20108b8eb64ba3cf55 (diff)
downloadlibvfio-user-bc14a86815855af69141d4c6a44dbda24c270757.zip
libvfio-user-bc14a86815855af69141d4c6a44dbda24c270757.tar.gz
libvfio-user-bc14a86815855af69141d4c6a44dbda24c270757.tar.bz2
Fix issues pointed by CFLAGS "-Wall -Werror -Wextra"
Signed-off-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/muser_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/muser_priv.h b/lib/muser_priv.h
index 097874a..f814bc0 100644
--- a/lib/muser_priv.h
+++ b/lib/muser_priv.h
@@ -35,6 +35,8 @@
#include "muser.h"
+#define UNUSED __attribute__((unused))
+
extern char *irq_to_str[];
int