* commit '4812bdf1b160fb803dd86a393daf2ae725029c2e': Declare getgrent/setgrent/endgrent as missing.
This commit is contained in:
		@@ -54,9 +54,9 @@ __BEGIN_DECLS
 | 
				
			|||||||
struct group	*getgrgid(gid_t);
 | 
					struct group	*getgrgid(gid_t);
 | 
				
			||||||
struct group	*getgrnam(const char *);
 | 
					struct group	*getgrnam(const char *);
 | 
				
			||||||
#if __POSIX_VISIBLE >= 200112 || __XPG_VISIBLE
 | 
					#if __POSIX_VISIBLE >= 200112 || __XPG_VISIBLE
 | 
				
			||||||
struct group	*getgrent(void);
 | 
					struct group	*getgrent(void) __errorattr("This function is meaningless on Android.");
 | 
				
			||||||
void		 setgrent(void);
 | 
					__errordecl(setgrent, "This function is meaningless on Android.");
 | 
				
			||||||
void		 endgrent(void);
 | 
					__errordecl(endgrent, "This function is meaningless on Android.");
 | 
				
			||||||
int		 getgrgid_r(gid_t, struct group *, char *,
 | 
					int		 getgrgid_r(gid_t, struct group *, char *,
 | 
				
			||||||
		    size_t, struct group **);
 | 
							    size_t, struct group **);
 | 
				
			||||||
int		 getgrnam_r(const char *, struct group *, char *,
 | 
					int		 getgrnam_r(const char *, struct group *, char *,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -335,13 +335,15 @@
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if __GNUC_PREREQ(4, 3)
 | 
					#if __GNUC_PREREQ(4, 3)
 | 
				
			||||||
#define __errordecl(name, msg) extern void name(void) __attribute__((__error__(msg)))
 | 
					#define __errorattr(msg) __attribute__((__error__(msg)))
 | 
				
			||||||
#define __warnattr(msg) __attribute__((__warning__(msg)))
 | 
					#define __warnattr(msg) __attribute__((__warning__(msg)))
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
#define __errordecl(name, msg) extern void name(void)
 | 
					#define __errorattr(msg)
 | 
				
			||||||
#define __warnattr(msg)
 | 
					#define __warnattr(msg)
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define __errordecl(name, msg) extern void name(void) __errorattr(msg)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Some BSD source needs these macros.
 | 
					 * Some BSD source needs these macros.
 | 
				
			||||||
 * Originally they embedded the rcs versions of each source file
 | 
					 * Originally they embedded the rcs versions of each source file
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user