summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-05 03:26:21 +0000
committerRoland McGrath <roland@gnu.org>2002-05-05 03:26:21 +0000
commit9d4e34f14832820a751a80c77e64d029f4311df3 (patch)
treebee12986d107b42c6bd43766b17ea988865c27df
parentf99e4a38ae4709d0db6fcbe6b8d48560409cae9d (diff)
2002-05-04 Roland McGrath <roland@frob.com>
* iouser-create.c (iohelp_create_complex_iouser): Add const to args. * iohelp.h: Update decl.
-rw-r--r--libiohelp/iouser-create.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libiohelp/iouser-create.c b/libiohelp/iouser-create.c
index c67cff77..f1dd2f0e 100644
--- a/libiohelp/iouser-create.c
+++ b/libiohelp/iouser-create.c
@@ -1,5 +1,5 @@
-/*
- Copyright (C) 1996,2001 Free Software Foundation
+/*
+ Copyright (C) 1996,2001,02 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -32,7 +32,7 @@ iohelp_create_iouser (struct iouser **user, struct idvec *uids,
return 0;
}
-
+
#define E(err) \
do { \
if (err) \
@@ -89,8 +89,8 @@ iohelp_create_simple_iouser (struct iouser **user, uid_t uid, gid_t gid)
error_t
iohelp_create_complex_iouser (struct iouser **user,
- uid_t *uvec, int nuids,
- gid_t *gvec, int ngids)
+ const uid_t *uvec, int nuids,
+ const gid_t *gvec, int ngids)
{
struct idvec *uids, *gids;