summaryrefslogtreecommitdiff
path: root/build/names.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-11-24 19:30:38 +0000
committerjbj <devnull@localhost>1998-11-24 19:30:38 +0000
commit4551a1256f6c43498c838838fe9343e8b6ccb69a (patch)
tree112a01cd50ad4570b830812a5d74149f732c96df /build/names.c
parentbf93337cec80049e178d4c8e2762bb68c89ff7a4 (diff)
downloadlibrpm-tizen-4551a1256f6c43498c838838fe9343e8b6ccb69a.tar.gz
librpm-tizen-4551a1256f6c43498c838838fe9343e8b6ccb69a.tar.bz2
librpm-tizen-4551a1256f6c43498c838838fe9343e8b6ccb69a.zip
Clean up on files.c.
CVS patchset: 2555 CVS date: 1998/11/24 19:30:38
Diffstat (limited to 'build/names.c')
-rw-r--r--build/names.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/names.c b/build/names.c
index 22e1ddeab..b30d8a770 100644
--- a/build/names.c
+++ b/build/names.c
@@ -48,7 +48,7 @@ char *getUname(uid_t uid)
* getUnameS() takes a username, gets the uid, and creates an entry in the
* table to hold a string containing the user name.
*/
-char *getUnameS(char *uname)
+char *getUnameS(const char *uname)
{
struct passwd *pw;
int x;
@@ -113,7 +113,7 @@ char *getGname(gid_t gid)
* getGnameS() takes a group name, gets the gid, and creates an entry in the
* table to hold a string containing the group name.
*/
-char *getGnameS(char *gname)
+char *getGnameS(const char *gname)
{
struct group *gr;
int x;