diff options
author | ed <ed@FreeBSD.org> | 2011-10-14 07:25:20 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-10-14 07:25:20 +0000 |
commit | c532eb5b65bcbcadaced57ea11d0d8dfd07ea00c (patch) | |
tree | cf78d1ad1aed3a67bdf4ed56214224b6faf337c5 /usr.bin/tr/str.c | |
parent | 9a877f97e76de748829a29633dbf354b073700fc (diff) | |
download | FreeBSD-src-c532eb5b65bcbcadaced57ea11d0d8dfd07ea00c.zip FreeBSD-src-c532eb5b65bcbcadaced57ea11d0d8dfd07ea00c.tar.gz |
Build tr(1) with WARNS=6.
Diffstat (limited to 'usr.bin/tr/str.c')
-rw-r--r-- | usr.bin/tr/str.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/usr.bin/tr/str.c b/usr.bin/tr/str.c index 70a74ea..abfd0d6 100644 --- a/usr.bin/tr/str.c +++ b/usr.bin/tr/str.c @@ -57,8 +57,7 @@ static int genrange(STR *, int); static void genseq(STR *); wint_t -next(s) - STR *s; +next(STR *s) { int is_octal; wint_t ch; @@ -135,8 +134,7 @@ next(s) } static int -bracket(s) - STR *s; +bracket(STR *s) { char *p; @@ -173,8 +171,7 @@ bracket(s) } static void -genclass(s) - STR *s; +genclass(STR *s) { if ((s->cclass = wctype(s->str)) == 0) @@ -190,8 +187,7 @@ genclass(s) } static void -genequiv(s) - STR *s; +genequiv(STR *s) { int i, p, pri; char src[2], dst[3]; @@ -295,8 +291,7 @@ genrange(STR *s, int was_octal) } static void -genseq(s) - STR *s; +genseq(STR *s) { char *ep; wchar_t wc; |