Mike Barcroft
834dcade30
Rather than include namespace pollution in <grp.h> in order to declare
...
`gid_t', use the canonical protection scheme to define a type in two or
more headers. This brings <grp.h> closer to POSIX.1-2001 conformance.
2002-02-26 19:43:03 +00:00
Maxim Sobolev
b73aa6457c
Per POSIX <grp.h> doesn't require <sys/types.h>.
...
Submitted by: ache
2002-02-25 17:20:40 +00:00
Maxim Sobolev
85148c8f03
Backout rev.1.5 - it seems that it's posixly correct that the program
...
needs to include <sys/types.h> before <grp.h>.
Submitted by: fjoe, sheldonh
David Malone <dwmalone@maths.tcd.ie>
2002-02-25 13:55:47 +00:00
Maxim Sobolev
bef621eb79
In rev.1.4 type of (group)->gr_gid was changes from (int) to (gid_t),
...
so that <sys/types.h> is now required. Add it, otherwise it breaks
some ports.
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
2002-02-25 13:24:02 +00:00
Warner Losh
fc69394f0a
Move user_from_uid to pwd.h
...
Move group_from_gid to grp.h
Remove from stdlib.h
Make the prototypes match the code
Fix rm and mv to include new files.
NetBSD has these defined in those files, and others too that I've not
done.
Approved by: terminal room kabal
Reviewed by: jhb, phk
2002-02-14 01:59:47 +00:00
Mark Murray
5567b258eb
Use the proper type (gid_t) for (group)->gr_gid to be orthogonal
...
with uid_t usage and (user)->pw_uid.
PR: 3242
2002-01-22 17:32:53 +00:00
Eivind Eklund
f756433e8b
Back out all of yesterdays include file changes.
1997-05-07 20:01:10 +00:00
Eivind Eklund
48ea0bec18
Make a lot of include-files self-contained. I excluded the patches changing
...
int's to gid_t and uid_t - should I commit these, too?
Closes PR misc/2625.
Submitted by: Julian Assange <proff@iq.org>
1997-05-07 02:27:18 +00:00
Rodney W. Grimes
59deaec541
BSD 4.4 Lite Include Sources
1994-05-24 09:57:34 +00:00