diff options
author | kris <kris@FreeBSD.org> | 2001-05-18 11:04:19 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-05-18 11:04:19 +0000 |
commit | 5dcd334a54de067ae4fd30cf8a272065ecd82f4e (patch) | |
tree | 6dbd32caa7edc13d3b8f230547f96c1debcda39a /bin/stty/print.c | |
parent | 0565ca3c5b53383d4d37e31a13132076404d347b (diff) | |
download | FreeBSD-src-5dcd334a54de067ae4fd30cf8a272065ecd82f4e.zip FreeBSD-src-5dcd334a54de067ae4fd30cf8a272065ecd82f4e.tar.gz |
BDECFLAGS cleanup
Diffstat (limited to 'bin/stty/print.c')
-rw-r--r-- | bin/stty/print.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 <sys/ioctl_compat.h> /* 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; |