tools/findutils: update to 4.9.0
[openwrt/staging/mkresin.git] / tools / findutils / patches / 010-endpwent.patch
1 --- a/find/parser.c
2 +++ b/find/parser.c
3 @@ -67,12 +67,12 @@
4 #include "findutils-version.h"
5 #include "system.h"
6
7 -
8 -#ifndef HAVE_ENDGRENT
9 -# define endgrent ()
10 +#if ! HAVE_ENDGRENT
11 +# define endgrent() ((void) 0)
12 #endif
13 -#ifndef HAVE_ENDPWENT
14 -# define endpwent ()
15 +
16 +#if ! HAVE_ENDPWENT
17 +# define endpwent() ((void) 0)
18 #endif
19
20 static bool parse_accesscheck (const struct parser_table*, char *argv[], int *arg_ptr);