about summary refs log tree commit diff
path: root/include/shadow.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/shadow.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/shadow.h')
-rw-r--r--include/shadow.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/shadow.h b/include/shadow.h
index 5168d8d4a3..fb1681909f 100644
--- a/include/shadow.h
+++ b/include/shadow.h
@@ -25,12 +25,6 @@ extern int __fgetspent_r (FILE *__stream, struct spwd *__result_buf,
 extern int __lckpwdf (void);
 extern int __ulckpwdf (void);
 
-struct parser_data;
-extern int _nss_files_parse_spent (char *line, struct spwd *result,
-				   struct parser_data *data,
-				   size_t datalen, int *errnop);
-libc_hidden_proto (_nss_files_parse_spent)
-
 #define DECLARE_NSS_PROTOTYPES(service)					\
 extern enum nss_status _nss_ ## service ## _setspent (int);		\
 extern enum nss_status _nss_ ## service ## _endspent (void);		\