From a135bdb9a089d053c32961f1b675e630c37b1988 Mon Sep 17 00:00:00 2001 From: Dag-Erling Smørgrav Date: Mon, 18 Jan 1999 02:14:20 +0000 Subject: Use the correct type for uid and gid in struct passwd. Document it. --- lib/libc/gen/getpwent.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3 index 8772a429e7e4..94fc4063f30b 100644 --- a/lib/libc/gen/getpwent.3 +++ b/lib/libc/gen/getpwent.3 @@ -72,8 +72,8 @@ file struct passwd { char *pw_name; /* user name */ char *pw_passwd; /* encrypted password */ - int pw_uid; /* user uid */ - int pw_gid; /* user gid */ + uid_t pw_uid; /* user uid */ + gid_t pw_gid; /* user gid */ time_t pw_change; /* password change time */ char *pw_class; /* user access class */ char *pw_gecos; /* Honeywell login info */ -- cgit v1.3