libyang MAINTENANCE variadic macros with no parameters
diff --git a/tools/lint/common.h b/tools/lint/common.h
index 0a62db9..2e25c09 100644
--- a/tools/lint/common.h
+++ b/tools/lint/common.h
@@ -35,14 +35,14 @@
 /**
  * @brief log error message
  */
-#define YLMSG_E(MSG, ...) \
-        fprintf(stderr, "YANGLINT[E]: " MSG, ##__VA_ARGS__)
+#define YLMSG_E(...) \
+        fprintf(stderr, "YANGLINT[E]: " __VA_ARGS__)
 
 /**
  * @brief log warning message
  */
-#define YLMSG_W(MSG, ...) \
-        fprintf(stderr, "YANGLINT[W]: " MSG, ##__VA_ARGS__)
+#define YLMSG_W(...) \
+        fprintf(stderr, "YANGLINT[W]: " __VA_ARGS__)
 
 /**
  * @brief Storage for the list of the features (their names) in a specific YANG module.
diff --git a/tools/lint/linenoise/linenoise.c b/tools/lint/linenoise/linenoise.c
index dd81e74..932739d 100644
--- a/tools/lint/linenoise/linenoise.c
+++ b/tools/lint/linenoise/linenoise.c
@@ -180,7 +180,7 @@
         fflush(lndebug_fp); \
     } while (0)
 #else
-#define lndebug(fmt, ...)
+#define lndebug(...)
 #endif
 
 /* ======================= Low level terminal handling ====================== */