summaryrefslogtreecommitdiff
path: root/cmd-line-utils/readline/rltty.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-line-utils/readline/rltty.c')
-rw-r--r--cmd-line-utils/readline/rltty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd-line-utils/readline/rltty.c b/cmd-line-utils/readline/rltty.c
index ffbae1e08af..869538af9ab 100644
--- a/cmd-line-utils/readline/rltty.c
+++ b/cmd-line-utils/readline/rltty.c
@@ -139,8 +139,7 @@ static int ksrflow;
/* Dummy call to force a backgrounded readline to stop before it tries
to get the tty settings. */
static void
-set_winsize (tty)
- int tty;
+set_winsize (int tty __attribute__((unused)))
{
#if defined (TIOCGWINSZ)
struct winsize w;