From 0bd13daced9e8189c8f915fb1535811616b9a527 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 4 Sep 1998 18:36:33 +0000 Subject: 1998-09-04 Roland McGrath * idvec.c, idvec-auth.c (id_t): Remove typedef; use uid_t everywhere. The name `id_t' is coopted in libc now for the SVID `waitid' interface. --- libshouldbeinlibc/idvec-auth.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'libshouldbeinlibc/idvec-auth.c') diff --git a/libshouldbeinlibc/idvec-auth.c b/libshouldbeinlibc/idvec-auth.c index 896bfdb7..d03233be 100644 --- a/libshouldbeinlibc/idvec-auth.c +++ b/libshouldbeinlibc/idvec-auth.c @@ -1,6 +1,6 @@ /* Idvec functions that interact with an auth server - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1998 Free Software Foundation, Inc. Written by Miles Bader @@ -23,8 +23,6 @@ #include "idvec.h" -typedef uid_t id_t; - /* Add to all of EFF_UIDS, AVAIL_UIDS, EFF_GIDS, AVAIL_GIDS (as if with idvec_merge_ids()) the ids associated with the auth port AUTH. Any of these parameters may be NULL if that information isn't desired. */ @@ -34,11 +32,11 @@ idvec_merge_auth (struct idvec *eff_uids, struct idvec *avail_uids, auth_t auth) { error_t err; - id_t eff_uid_buf[10], avail_uid_buf[20]; - id_t *_eff_uids = eff_uid_buf, *_avail_uids = avail_uid_buf; + uid_t eff_uid_buf[10], avail_uid_buf[20]; + uid_t *_eff_uids = eff_uid_buf, *_avail_uids = avail_uid_buf; int num_eff_uids = 10, num_avail_uids = 20; - id_t eff_gid_buf[10], avail_gid_buf[20]; - id_t *_eff_gids = eff_gid_buf, *_avail_gids = avail_gid_buf; + uid_t eff_gid_buf[10], avail_gid_buf[20]; + uid_t *_eff_gids = eff_gid_buf, *_avail_gids = avail_gid_buf; int num_eff_gids = 10, num_avail_gids = 20; err = auth_getids (auth, -- cgit v1.2.3