summaryrefslogtreecommitdiff
path: root/lib/libc/termios/tcsendbreak.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/termios/tcsendbreak.c')
-rw-r--r--lib/libc/termios/tcsendbreak.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/termios/tcsendbreak.c b/lib/libc/termios/tcsendbreak.c
index a6ed420d..65f1d5b0 100644
--- a/lib/libc/termios/tcsendbreak.c
+++ b/lib/libc/termios/tcsendbreak.c
@@ -1,8 +1,9 @@
+#include <libc.h>
#include <termios.h>
#include <syscall.h>
#include <asm-generic/ioctls.h>
-int tcsendbreak(int fildes, int duration)
+int tcsendbreak(int fildes, int __unused duration)
{
// IEEE Std 1003.1-2024
// If duration is not 0, it shall send zero-valued