diff options
author | Jim Meyering <jim@meyering.net> | 1999-03-27 14:29:51 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-03-27 14:29:51 +0000 |
commit | 713d9932c3073478ffb686d6e4c41745abb152c9 (patch) | |
tree | 8c94ea04718c15a478e86741d657867b773686f5 /src | |
parent | 83bd8b5ff1ef96c197c753bd52de601ed6a49885 (diff) | |
download | coreutils-713d9932c3073478ffb686d6e4c41745abb152c9.tar.xz |
(print_user): Use uid_t instead of int.
(print_group): Use gid_t instead of int.
Diffstat (limited to 'src')
-rw-r--r-- | src/id.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -41,8 +41,8 @@ gid_t getegid (); int getugroups (); -static void print_user PARAMS ((int uid)); -static void print_group PARAMS ((int gid)); +static void print_user PARAMS ((uid_t uid)); +static void print_group PARAMS ((gid_t gid)); static void print_group_list PARAMS ((const char *username)); static void print_full_info PARAMS ((const char *username)); @@ -192,7 +192,7 @@ main (int argc, char **argv) /* Print the name or value of user ID UID. */ static void -print_user (int uid) +print_user (uid_t uid) { struct passwd *pwd = NULL; @@ -212,7 +212,7 @@ print_user (int uid) /* Print the name or value of group ID GID. */ static void -print_group (int gid) +print_group (gid_t gid) { struct group *grp = NULL; |