diff options
author | Bruno Haible <bruno@clisp.org> | 2008-04-29 02:55:59 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-04-29 02:55:59 +0200 |
commit | b52ae09f3a74d02e4f203c4b7703416d3b3b5461 (patch) | |
tree | 2c3af01d1cdda4496a4800c90b220ac37026bb0e /lib/rpmatch.c | |
parent | cdf60d1ad704f2d17ca677af9dc093e7a81bd28e (diff) | |
download | gnulib-b52ae09f3a74d02e4f203c4b7703416d3b3b5461.tar.gz |
Declare rpmatch.
Diffstat (limited to 'lib/rpmatch.c')
-rw-r--r-- | lib/rpmatch.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c index 68c7442979..217e1710a2 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -19,9 +19,11 @@ #include <config.h> +/* Specification. */ +#include <stdlib.h> + #include <stdbool.h> #include <stddef.h> -#include <stdlib.h> #if ENABLE_NLS # include <sys/types.h> @@ -118,9 +120,6 @@ try (const char *response, const char *pattern, char **lastp, regex_t *re) #endif -/* Test a user response to a question. - Return 1 if it is affirmative, 0 if it is negative, or -1 if not clear. */ - int rpmatch (const char *response) { |