From 5b4f9fad384b00014d95731bfbfc7822a7d6e185 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 29 Apr 2006 16:26:41 +0000 Subject: * nis/nss_nisplus/nisplus-parser.c: Some cleanups. Remove hidden_def definitions. * nis/nisplus-parser.h: Add parameter names. Remove hidden_proto definitions. --- nis/nisplus-parser.h | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'nis/nisplus-parser.h') diff --git a/nis/nisplus-parser.h b/nis/nisplus-parser.h index f4b8d49596..e629119d6f 100644 --- a/nis/nisplus-parser.h +++ b/nis/nisplus-parser.h @@ -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. Contributed by Thorsten Kukuk , 1997. @@ -24,15 +24,12 @@ #include #include -extern int _nss_nisplus_parse_pwent (nis_result *, struct passwd *, - char *, size_t, int *); -extern int _nss_nisplus_parse_grent (nis_result *, u_long, struct group *, - char *, size_t, int *); -extern int _nss_nisplus_parse_spent (nis_result *, struct spwd *, - char *, size_t, int *); - -libnss_nisplus_hidden_proto (_nss_nisplus_parse_pwent) -libnss_nisplus_hidden_proto (_nss_nisplus_parse_grent) -libnss_nisplus_hidden_proto (_nss_nisplus_parse_spent) +extern int _nss_nisplus_parse_pwent (nis_result *result, struct passwd *pw, + char *buffer, size_t buflen, int *errnop); +extern int _nss_nisplus_parse_grent (nis_result *result, u_long entry, + struct group *gr, char *buffer, + size_t buflen, int *errnop); +extern int _nss_nisplus_parse_spent (nis_result *result, struct spwd *sp, + char *buffer, size_t buflen, int *errnop); #endif -- cgit v1.2.1