platform.h: define endgrent() and endpwent() as no-ops on Android
[oweals/busybox.git] / include / grp_.h
index 5c24d558ad1cc14a971cf2d7df88f28f4e384ee9..82ad904921ffd37e910b766b0c38d5cc421d7866 100644 (file)
@@ -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