diff options
author | Jim Meyering <jim@meyering.net> | 1997-07-06 21:27:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-07-06 21:27:07 +0000 |
commit | 2cd9474cb66f94f7c5160c1857b5c300ad49ddbd (patch) | |
tree | 8af76690b030e08c293873c07b5bb02baea6b561 /lib | |
parent | abd1bad4b638373ce5093debdc8b015a5d87d1ad (diff) | |
download | coreutils-2cd9474cb66f94f7c5160c1857b5c300ad49ddbd.tar.xz |
(getuidbyname): Declare parameter to be const.
(getgidbyname): Declare parameter to be const.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/idcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/idcache.c b/lib/idcache.c index 6ea6b505e..a327067da 100644 --- a/lib/idcache.c +++ b/lib/idcache.c @@ -97,7 +97,7 @@ getuser (uid) uid_t * getuidbyname (user) - char *user; + const char *user; { register struct userid *tail; struct passwd *pwent; @@ -171,7 +171,7 @@ getgroup (gid) gid_t * getgidbyname (group) - char *group; + const char *group; { register struct userid *tail; struct group *grent; |