summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/unvis.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-08-02 08:46:23 +0000
committerstefanf <stefanf@FreeBSD.org>2004-08-02 08:46:23 +0000
commitdb9322a9fc353030b5b2e97279a3b6407f43de93 (patch)
tree332a91085b03f570a4a057b46005ba5b659521bc /lib/libc/gen/unvis.c
parent142f90039da021ea56511e077aa013ab56f064a1 (diff)
downloadFreeBSD-src-db9322a9fc353030b5b2e97279a3b6407f43de93.zip
FreeBSD-src-db9322a9fc353030b5b2e97279a3b6407f43de93.tar.gz
Remove an implicit int parameter by using prototypes.
Diffstat (limited to 'lib/libc/gen/unvis.c')
-rw-r--r--lib/libc/gen/unvis.c12
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;
OpenPOWER on IntegriCloud