projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10866a4
)
(getuidbyname): Declare parameter to be const.
author
Jim Meyering
<jim@meyering.net>
Sun, 6 Jul 1997 21:27:07 +0000
(21:27 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 6 Jul 1997 21:27:07 +0000
(21:27 +0000)
(getgidbyname): Declare parameter to be const.
lib/idcache.c
patch
|
blob
|
history
diff --git
a/lib/idcache.c
b/lib/idcache.c
index 6ea6b505e745ad4804607647272764c1629e755e..a327067daf1adbfb8ead34d1af87a308da687273 100644
(file)
--- a/
lib/idcache.c
+++ b/
lib/idcache.c
@@
-97,7
+97,7
@@
getuser (uid)
uid_t *
getuidbyname (user)
- char *user;
+ c
onst c
har *user;
{
register struct userid *tail;
struct passwd *pwent;
@@
-171,7
+171,7
@@
getgroup (gid)
gid_t *
getgidbyname (group)
- char *group;
+ c
onst c
har *group;
{
register struct userid *tail;
struct group *grent;