summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--text-utils/more.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/more.c b/text-utils/more.c
index 598e0489..da5439b4 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -286,7 +286,7 @@ static void my_putstring(char *s)
tputs(s, fileno(stdout), putchar);
}
-static void my_setupterm(char *term, int fildes, int *errret)
+static void my_setupterm(char *term, int fildes __attribute__((__unused__)), int *errret)
{
*errret = tgetent(tcbuffer, term);
}