From 5dcd334a54de067ae4fd30cf8a272065ecd82f4e Mon Sep 17 00:00:00 2001 From: kris Date: Fri, 18 May 2001 11:04:19 +0000 Subject: BDECFLAGS cleanup --- bin/stty/print.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bin/stty/print.c') diff --git a/bin/stty/print.c b/bin/stty/print.c index 364b95b..6aff06a 100644 --- a/bin/stty/print.c +++ b/bin/stty/print.c @@ -50,9 +50,9 @@ static const char rcsid[] = #include /* XXX NTTYDISC is too well hidden */ -static void binit __P((char *)); -static void bput __P((char *)); -static char *ccval __P((struct cchar *, int)); +static void binit __P((const char *)); +static void bput __P((const char *)); +static const char *ccval __P((struct cchar *, int)); void print(tp, wp, ldisc, fmt) @@ -225,11 +225,11 @@ print(tp, wp, ldisc, fmt) } static int col; -static char *label; +static const char *label; static void binit(lb) - char *lb; + const char *lb; { if (col) { @@ -241,7 +241,7 @@ binit(lb) static void bput(s) - char *s; + const char *s; { if (col == 0) { @@ -256,7 +256,7 @@ bput(s) col += printf(" %s", s); } -static char * +static const char * ccval(p, c) struct cchar *p; int c; -- cgit v1.1