aboutsummaryrefslogtreecommitdiff
path: root/nis/nss_nisplus
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-29 16:26:41 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-29 16:26:41 +0000
commit5b4f9fad384b00014d95731bfbfc7822a7d6e185 (patch)
treebbfefaec00f42d9abcd50d831c23b90b03c4abc6 /nis/nss_nisplus
parente0d4e91d2b0e8069fc044899cf04a41db3612ffb (diff)
downloadglibc-5b4f9fad384b00014d95731bfbfc7822a7d6e185.zip
glibc-5b4f9fad384b00014d95731bfbfc7822a7d6e185.tar.gz
glibc-5b4f9fad384b00014d95731bfbfc7822a7d6e185.tar.bz2
* nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove
hidden_def definitions. * nis/nisplus-parser.h: Add parameter names. Remove hidden_proto definitions.
Diffstat (limited to 'nis/nss_nisplus')
-rw-r--r--nis/nss_nisplus/nisplus-parser.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/nis/nss_nisplus/nisplus-parser.c b/nis/nss_nisplus/nisplus-parser.c
index e41751f..4cd0738 100644
--- a/nis/nss_nisplus/nisplus-parser.c
+++ b/nis/nss_nisplus/nisplus-parser.c
@@ -25,11 +25,11 @@
#include "nisplus-parser.h"
-#define NISENTRYVAL(idx,col,res) \
- (NIS_RES_OBJECT (res)[(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) \
- (NIS_RES_OBJECT (res)[(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)
int
@@ -136,7 +136,6 @@ _nss_nisplus_parse_pwent (nis_result *result, struct passwd *pw,
return 1;
}
-libnss_nisplus_hidden_def (_nss_nisplus_parse_pwent)
int
@@ -255,7 +254,6 @@ _nss_nisplus_parse_grent (nis_result *result, u_long entry, struct group *gr,
return 1;
}
-libnss_nisplus_hidden_def (_nss_nisplus_parse_grent)
int
@@ -368,4 +366,3 @@ _nss_nisplus_parse_spent (nis_result *result, struct spwd *sp,
return 1;
}
-libnss_nisplus_hidden_def (_nss_nisplus_parse_spent)