* nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove

hidden_def definitions.
	* nis/nisplus-parser.h: Add parameter names.  Remove hidden_proto
	definitions.
This commit is contained in:
Ulrich Drepper 2006-04-29 16:26:41 +00:00
parent e0d4e91d2b
commit 5b4f9fad38
3 changed files with 19 additions and 18 deletions

View File

@ -1,3 +1,10 @@
2006-04-29 Ulrich Drepper <drepper@redhat.com>
* nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove
hidden_def definitions.
* nis/nisplus-parser.h: Add parameter names. Remove hidden_proto
definitions.
2006-04-28 Ulrich Drepper <drepper@redhat.com> 2006-04-28 Ulrich Drepper <drepper@redhat.com>
* nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997, 2004 Free Software Foundation, Inc. /* Copyright (C) 1997, 2004, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997. Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
@ -24,15 +24,12 @@
#include <grp.h> #include <grp.h>
#include <shadow.h> #include <shadow.h>
extern int _nss_nisplus_parse_pwent (nis_result *, struct passwd *, extern int _nss_nisplus_parse_pwent (nis_result *result, struct passwd *pw,
char *, size_t, int *); char *buffer, size_t buflen, int *errnop);
extern int _nss_nisplus_parse_grent (nis_result *, u_long, struct group *, extern int _nss_nisplus_parse_grent (nis_result *result, u_long entry,
char *, size_t, int *); struct group *gr, char *buffer,
extern int _nss_nisplus_parse_spent (nis_result *, struct spwd *, size_t buflen, int *errnop);
char *, size_t, int *); extern int _nss_nisplus_parse_spent (nis_result *result, struct spwd *sp,
char *buffer, size_t buflen, int *errnop);
libnss_nisplus_hidden_proto (_nss_nisplus_parse_pwent)
libnss_nisplus_hidden_proto (_nss_nisplus_parse_grent)
libnss_nisplus_hidden_proto (_nss_nisplus_parse_spent)
#endif #endif

View File

@ -25,11 +25,11 @@
#include "nisplus-parser.h" #include "nisplus-parser.h"
#define NISENTRYVAL(idx,col,res) \ #define NISENTRYVAL(idx, col, res) \
(NIS_RES_OBJECT (res)[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_val) (NIS_RES_OBJECT (res)[idx].EN_data.en_cols.en_cols_val[col].ec_value.ec_value_val)
#define NISENTRYLEN(idx,col,res) \ #define NISENTRYLEN(idx, col, res) \
(NIS_RES_OBJECT (res)[(idx)].EN_data.en_cols.en_cols_val[(col)].ec_value.ec_value_len) (NIS_RES_OBJECT (res)[idx].EN_data.en_cols.en_cols_val[col].ec_value.ec_value_len)
int int
@ -136,7 +136,6 @@ _nss_nisplus_parse_pwent (nis_result *result, struct passwd *pw,
return 1; return 1;
} }
libnss_nisplus_hidden_def (_nss_nisplus_parse_pwent)
int int
@ -255,7 +254,6 @@ _nss_nisplus_parse_grent (nis_result *result, u_long entry, struct group *gr,
return 1; return 1;
} }
libnss_nisplus_hidden_def (_nss_nisplus_parse_grent)
int int
@ -368,4 +366,3 @@ _nss_nisplus_parse_spent (nis_result *result, struct spwd *sp,
return 1; return 1;
} }
libnss_nisplus_hidden_def (_nss_nisplus_parse_spent)