diff options
author | Jim Meyering <jim@meyering.net> | 1998-12-07 03:12:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-12-07 03:12:10 +0000 |
commit | 7d60769bead4b89a096e10bacbb503702ea6e44c (patch) | |
tree | c03ba9bef1c0339b2f4cbe993acff983cddb2146 /lib/rpmatch.c | |
parent | 604b3b397d5aa9ee10749f582fd67f1d2ae91a7f (diff) | |
download | coreutils-7d60769bead4b89a096e10bacbb503702ea6e44c.tar.xz |
ansideclify
Diffstat (limited to 'lib/rpmatch.c')
-rw-r--r-- | lib/rpmatch.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c index 3a439d7e3..9cc51755d 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -40,13 +40,7 @@ #endif static int -try (response, pattern, match, nomatch, lastp, re) - const char *response; - const char *pattern; - const int match; - const int nomatch; - const char **lastp; - regex_t *re; +try (const char *response, const char *pattern, const int match, const int nomatch, const char **lastp, regex_t *re) { if (pattern != *lastp) { @@ -69,8 +63,7 @@ try (response, pattern, match, nomatch, lastp, re) int -rpmatch (response) - const char *response; +rpmatch (const char *response) { /* Match against one of the response patterns, compiling the pattern first if necessary. */ |