summary refs log tree commit diff
path: root/include/grp.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-07-16 16:40:44 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-07-21 07:33:20 +0200
commite9b2340998ab22402a8e968ba674c380a625b9dc (patch)
treebf9c23d3a09b0768a292702a819a5f632f289576 /include/grp.h
parent23ed36735af09c258e542266aaed92cdd8571c6c (diff)
downloadglibc-e9b2340998ab22402a8e968ba674c380a625b9dc.tar.gz
glibc-e9b2340998ab22402a8e968ba674c380a625b9dc.tar.xz
glibc-e9b2340998ab22402a8e968ba674c380a625b9dc.zip
nss_files: Consolidate line parse declarations in <nss_files.h>
These functions should eventually have the same type, so it makes
sense to declare them together.

Tested-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/grp.h b/include/grp.h
index 58f7b4d233..2cd2475534 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -30,12 +30,6 @@ extern int __old_getgrnam_r (const char *__name, struct group *__resultbuf,
 			     char *__buffer, size_t __buflen,
 			     struct group **__result);
 
-struct parser_data;
-extern int _nss_files_parse_grent (char *line, struct group *result,
-				   struct parser_data *data,
-				   size_t datalen, int *errnop);
-libc_hidden_proto (_nss_files_parse_grent)
-
 #define DECLARE_NSS_PROTOTYPES(service)					   \
 extern enum nss_status _nss_ ## service ## _setgrent (int);		   \
 extern enum nss_status _nss_ ## service ## _endgrent (void);		   \