diff options
author | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2020-11-12 05:08:04 -0500 |
---|---|---|
committer | Swapnil Ingle <swapnil.ingle@nutanix.com> | 2020-11-12 09:40:36 -0500 |
commit | bc14a86815855af69141d4c6a44dbda24c270757 (patch) | |
tree | 5045e90fef5e9a2d7031b39b27afac499ad0cdf6 /samples/null.c | |
parent | b0c8341d6fdd34988a3cdf20108b8eb64ba3cf55 (diff) | |
download | libvfio-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 'samples/null.c')
-rw-r--r-- | samples/null.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/null.c b/samples/null.c index c00c984..2a16bf7 100644 --- a/samples/null.c +++ b/samples/null.c @@ -41,9 +41,10 @@ #include <string.h> #include "../lib/muser.h" +#include "../lib/muser_priv.h" static void -null_log(void *pvt, lm_log_lvl_t lvl __attribute__((unused)), char const *msg) +null_log(UNUSED void *pvt, UNUSED lm_log_lvl_t lvl, char const *msg) { fprintf(stderr, "muser: %s", msg); } |