mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
tools/nolibc: setvbuf: avoid unused parameter warnings
This warning will be enabled later so avoid triggering it. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
parent
6407750225
commit
809145f842
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue