diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-24 04:36:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-24 04:36:38 +0000 |
commit | 23948bda4bc44868d1959b209ed73b5d7c88d5df (patch) | |
tree | b00a8ce570eb2af391cea60d589b507013fc7ec0 /nis | |
parent | 727a6832f033c711fe75c5f742b07087ef5b5133 (diff) | |
download | glibc-23948bda4bc44868d1959b209ed73b5d7c88d5df.zip glibc-23948bda4bc44868d1959b209ed73b5d7c88d5df.tar.gz glibc-23948bda4bc44868d1959b209ed73b5d7c88d5df.tar.bz2 |
* nis/nss_nisplus/nisplus-netgrp.c: Cleanups.
* posix/regex.h: Remove obsolete <sys/types.h> comment and special
code if possible. Move compatibility code in .text.compat section.
Diffstat (limited to 'nis')
-rw-r--r-- | nis/nss_nisplus/nisplus-netgrp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nis/nss_nisplus/nisplus-netgrp.c b/nis/nss_nisplus/nisplus-netgrp.c index 31a8cdf..24303b1 100644 --- a/nis/nss_nisplus/nisplus-netgrp.c +++ b/nis/nss_nisplus/nisplus-netgrp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 2003, 2004, 2005 Free Software Foundation, Inc. +/* Copyright (C) 1997, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997. @@ -27,11 +27,11 @@ #include "nss-nisplus.h" -#define NISENTRYVAL(idx,col,res) \ - ((res)->objects.objects_val[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_val) +#define NISENTRYVAL(idx, col, res) \ + (NIS_RES_OBJECT (res)[idx].EN_data.en_cols.en_cols_val[col].ec_value.ec_value_val) -#define NISENTRYLEN(idx,col,res) \ - ((res)->objects.objects_val[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_len) +#define NISENTRYLEN(idx, col, res) \ + (NIS_RES_OBJECT (res)[idx].EN_data.en_cols.en_cols_val[col].ec_value.ec_value_len) enum nss_status _nss_nisplus_getnetgrent_r (struct __netgrent *result, char *buffer, |