The function signature for our printers is uniform, even though in one
of the instances a parameter is unused. There is not much we can do
here, just silence the compiler warning.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/361
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
.description = "(default) a human readable format. Do not parse.",
};
-static int write_tmpfiles(FILE *out, char modname[], char devname[], char type,
- unsigned int maj, unsigned int min)
+static int write_tmpfiles(FILE *out, _maybe_unused_ char modname[], char devname[],
+ char type, unsigned int maj, unsigned int min)
{
const char *dir;
int ret;