diff options
author | Denys Vlasenko | 2012-01-06 16:23:18 +0100 |
---|---|---|
committer | Denys Vlasenko | 2012-01-06 16:23:18 +0100 |
commit | 6b64a269766ace40c56826738de446537add37de (patch) | |
tree | e0adf6c71ac0f95f0fa973777f59596b868bba4b /include/grp_.h | |
parent | ba6587295053f369d6e2e9b788f42b49e1baced5 (diff) | |
download | busybox-6b64a269766ace40c56826738de446537add37de.zip busybox-6b64a269766ace40c56826738de446537add37de.tar.gz |
platform.h: define endgrent() and endpwent() as no-ops on Android
Surprisingly, bionic libc seems to lack these functions.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/grp_.h')
-rw-r--r-- | include/grp_.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grp_.h b/include/grp_.h index 5c24d55..82ad904 100644 --- a/include/grp_.h +++ b/include/grp_.h @@ -29,7 +29,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 endgrent #define setgrent bb_internal_setgrent #define endgrent bb_internal_endgrent #define getgrent bb_internal_getgrent |