From bc14a86815855af69141d4c6a44dbda24c270757 Mon Sep 17 00:00:00 2001 From: Swapnil Ingle Date: Thu, 12 Nov 2020 05:08:04 -0500 Subject: Fix issues pointed by CFLAGS "-Wall -Werror -Wextra" Signed-off-by: Swapnil Ingle --- samples/null.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'samples/null.c') 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 #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); } -- cgit v1.1