From a3e1c47accaa94f56c55b62e85eacc216a00ffd4 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Tue, 8 Mar 2016 22:35:50 +0000 Subject: [PATCH] cal: remove libtermcap arguments to my_tgetstr() Missed in commit b4566a8a8d0cf345e637194f9c95091a1ef4dfe0. Signed-off-by: Sami Kerola --- misc-utils/cal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc-utils/cal.c b/misc-utils/cal.c index c687c6c9d1..2a53b89aa6 100644 --- a/misc-utils/cal.c +++ b/misc-utils/cal.c @@ -108,7 +108,7 @@ static void my_putstring(char *s) fputs(s, stdout); } -static const char *my_tgetstr(char *s __attribute__ ((__unused__)), char *ss) +static const char *my_tgetstr(char *ss) { const char *ret = NULL; @@ -288,8 +288,8 @@ int main(int argc, char **argv) if (term) { has_term = setup_terminal(term) == 0; if (has_term) { - Senter = my_tgetstr("so", "smso"); - Sexit = my_tgetstr("se", "rmso"); + Senter = my_tgetstr("smso"); + Sexit = my_tgetstr("rmso"); } } } -- 2.47.2