about summary refs log tree commit diff
path: root/include/netinet
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/netinet
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/netinet')
-rw-r--r--include/netinet/ether.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/netinet/ether.h b/include/netinet/ether.h
index 8fd05f8193..1763a7e04c 100644
--- a/include/netinet/ether.h
+++ b/include/netinet/ether.h
@@ -15,12 +15,6 @@ struct etherent
   struct ether_addr e_addr;
 };
 
-struct parser_data;
-extern int _nss_files_parse_etherent (char *line, struct etherent *result,
-				      struct parser_data *data,
-				      size_t datalen, int *errnop);
-libnss_files_hidden_proto (_nss_files_parse_etherent)
-
 #define DECLARE_NSS_PROTOTYPES(service)					      \
 extern enum nss_status _nss_ ## service ## _setetherent (int __stayopen);     \
 extern enum nss_status _nss_ ## service ## _endetherent (void);		      \