diff options
author | Warner Losh <imp@FreeBSD.org> | 2002-02-02 06:50:57 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2002-02-02 06:50:57 +0000 |
commit | 5134c3f7990c353d2442ddd8a9a1d30b80099e43 (patch) | |
tree | 01a827446e9ba4f34cf1e754fcac691f6c9eb1cf /bin/stty/cchar.c | |
parent | 46251dde8f47db03ad83997efd5e8f8bd8938855 (diff) | |
download | src-5134c3f7990c353d2442ddd8a9a1d30b80099e43.tar.gz src-5134c3f7990c353d2442ddd8a9a1d30b80099e43.zip |
Notes
Diffstat (limited to 'bin/stty/cchar.c')
-rw-r--r-- | bin/stty/cchar.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/stty/cchar.c b/bin/stty/cchar.c index 85521608e1ce..297ba6b4eee9 100644 --- a/bin/stty/cchar.c +++ b/bin/stty/cchar.c @@ -50,7 +50,7 @@ static const char rcsid[] = #include "stty.h" #include "extern.h" -static int c_cchar __P((const void *, const void *)); +static int c_cchar(const void *, const void *); /* * Special control characters. @@ -90,17 +90,14 @@ struct cchar cchars2[] = { }; static int -c_cchar(a, b) - const void *a, *b; +c_cchar(const void *a, const void *b) { return (strcmp(((const struct cchar *)a)->name, ((const struct cchar *)b)->name)); } int -csearch(argvp, ip) - char ***argvp; - struct info *ip; +csearch(char ***argvp, struct info *ip) { struct cchar *cp, tmp; long val; |