Fix some namespace issues with grp.h and pwd.h.
authorPeter Avalos <pavalos@theshell.com>
Sun, 22 Mar 2009 21:47:29 +0000 (11:47 -1000)
committerPeter Avalos <pavalos@theshell.com>
Tue, 7 Apr 2009 07:10:07 +0000 (21:10 -1000)
commit61ec5fb1a640125853bf14d3f8d850f39713d7da
tree09db92bcbb63c2a819fe9d6782e75228caaf31f5
parente7e1e0fab3d7c1e6814fef0b3c7a6c541feaaf95
Fix some namespace issues with grp.h and pwd.h.

* [1] endpwent, getpwent, setgrent, and setpwent are XSI extensions.

* Change setgrent's prototype to match SuS.

* SuS requires that gid_t be defined in grp.h and pwd.h, and uid_t be in
  pwd.h.

[1] Obtained-from: FreeBSD
include/grp.h
include/pwd.h
lib/libc/gen/getgrent.3
lib/libc/gen/getgrent.c
sys/sys/types.h