Declare getgrent/setgrent/endgrent as missing.
Bug: 19340053 Change-Id: I42bfeda95e6f262e2e74ab47336ea346c2de7e4a
This commit is contained in:
@@ -54,9 +54,9 @@ __BEGIN_DECLS
|
||||
struct group *getgrgid(gid_t);
|
||||
struct group *getgrnam(const char *);
|
||||
#if __POSIX_VISIBLE >= 200112 || __XPG_VISIBLE
|
||||
struct group *getgrent(void);
|
||||
void setgrent(void);
|
||||
void endgrent(void);
|
||||
struct group *getgrent(void) __errorattr("This function is meaningless on Android.");
|
||||
__errordecl(setgrent, "This function is meaningless on Android.");
|
||||
__errordecl(endgrent, "This function is meaningless on Android.");
|
||||
int getgrgid_r(gid_t, struct group *, char *,
|
||||
size_t, struct group **);
|
||||
int getgrnam_r(const char *, struct group *, char *,
|
||||
|
Reference in New Issue
Block a user