diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-08-02 08:46:23 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-08-02 08:46:23 +0000 |
commit | db9322a9fc353030b5b2e97279a3b6407f43de93 (patch) | |
tree | 332a91085b03f570a4a057b46005ba5b659521bc /lib | |
parent | 142f90039da021ea56511e077aa013ab56f064a1 (diff) | |
download | FreeBSD-src-db9322a9fc353030b5b2e97279a3b6407f43de93.zip FreeBSD-src-db9322a9fc353030b5b2e97279a3b6407f43de93.tar.gz |
Remove an implicit int parameter by using prototypes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/unvis.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/libc/gen/unvis.c b/lib/libc/gen/unvis.c index 94a6726..c5bf6bb 100644 --- a/lib/libc/gen/unvis.c +++ b/lib/libc/gen/unvis.c @@ -62,9 +62,7 @@ __FBSDID("$FreeBSD$"); * unvis - decode characters previously encoded by vis */ int -unvis(cp, c, astate, flag) - char *cp; - int c, *astate, flag; +unvis(char *cp, int c, int *astate, int flag) { if (flag & UNVIS_END) { @@ -241,9 +239,7 @@ unvis(cp, c, astate, flag) */ int -strunvis(dst, src) - char *dst; - const char *src; +strunvis(char *dst, const char *src) { char c; char *start = dst; @@ -272,9 +268,7 @@ strunvis(dst, src) } int -strunvisx(dst, src, flag) - char *dst; - const char *src; +strunvisx(char *dst, const char *src, int flag) { char c; char *start = dst; |