mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
[endpwent]: Test !HAVE_ENDPWENT rather than _POSIX_SOURCE.
[endgrent]: Remove unused definition.
This commit is contained in:
1 parent
fc2e23b1ad
commit
871d176f15
1 file changed
+2
-3
+2
-3
@@ -45,9 +45,8 @@ struct group *getgrnam ();
|
||||
struct group *getgrgid ();
|
||||
#endif
|
||||
|
||||
#ifdef _POSIX_SOURCE
|
||||
#define endgrent()
|
||||
#define endpwent()
|
||||
#ifndef HAVE_ENDPWENT
|
||||
# define endpwent() ((void) 0)
|
||||
#endif
|
||||
|
||||
char *savedir ();
|
||||
|
||||
Reference in new issue
Block a user