Commit 809145f8 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Willy Tarreau

tools/nolibc: setvbuf: avoid unused parameter warnings

This warning will be enabled later so avoid triggering it.
Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
parent 64077502
......@@ -356,7 +356,10 @@ void perror(const char *msg)
}
static __attribute__((unused))
int setvbuf(FILE *stream, char *buf, int mode, size_t size)
int setvbuf(FILE *stream __attribute__((unused)),
char *buf __attribute__((unused)),
int mode,
size_t size __attribute__((unused)))
{
/*
* nolibc does not support buffering so this is a nop. Just check mode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment