diff options
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. */ |