From 6b64a269766ace40c56826738de446537add37de Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 6 Jan 2012 16:23:18 +0100 Subject: platform.h: define endgrent() and endpwent() as no-ops on Android Surprisingly, bionic libc seems to lack these functions. Signed-off-by: Denys Vlasenko --- include/pwd_.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/pwd_.h') diff --git a/include/pwd_.h b/include/pwd_.h index e40b71dab..ea158da45 100644 --- a/include/pwd_.h +++ b/include/pwd_.h @@ -30,7 +30,7 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN * We will use libc-defined structures, but will #define function names * so that function calls are directed to bb_internal_XXX replacements */ - +#undef endpwent #define setpwent bb_internal_setpwent #define endpwent bb_internal_endpwent #define getpwent bb_internal_getpwent -- cgit v1.2.3