projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid a compilation warning.
[gnulib.git]
/
lib
/
rpmatch.c
diff --git
a/lib/rpmatch.c
b/lib/rpmatch.c
index
68c7442
..
217e171
100644
(file)
--- a/
lib/rpmatch.c
+++ b/
lib/rpmatch.c
@@
-19,9
+19,11
@@
#include <config.h>
#include <config.h>
+/* Specification. */
+#include <stdlib.h>
+
#include <stdbool.h>
#include <stddef.h>
#include <stdbool.h>
#include <stddef.h>
-#include <stdlib.h>
#if ENABLE_NLS
# include <sys/types.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
#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)
{
int
rpmatch (const char *response)
{