From 9d4e34f14832820a751a80c77e64d029f4311df3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 5 May 2002 03:26:21 +0000 Subject: 2002-05-04 Roland McGrath * iouser-create.c (iohelp_create_complex_iouser): Add const to args. * iohelp.h: Update decl. --- libiohelp/iouser-create.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libiohelp') 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; -- cgit v1.2.3