aboutsummaryrefslogtreecommitdiff
path: root/include/netdb.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/netdb.h
parent23ed36735af09c258e542266aaed92cdd8571c6c (diff)
downloadglibc-e9b2340998ab22402a8e968ba674c380a625b9dc.tar
glibc-e9b2340998ab22402a8e968ba674c380a625b9dc.tar.gz
glibc-e9b2340998ab22402a8e968ba674c380a625b9dc.tar.bz2
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/netdb.h')
-rw-r--r--include/netdb.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 6b431350df..49d63c1338 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -202,23 +202,10 @@ libc_hidden_proto (ruserpass)
#include <inet/netgroup.h>
-struct parser_data;
-extern int _nss_files_parse_protoent (char *line, struct protoent *result,
- struct parser_data *data,
- size_t datalen, int *errnop);
-extern int _nss_files_parse_servent (char *line, struct servent *result,
- struct parser_data *data,
- size_t datalen, int *errnop);
-extern int _nss_files_parse_netent (char *line, struct netent *result,
- struct parser_data *data,
- size_t datalen, int *errnop);
extern enum nss_status _nss_netgroup_parseline (char **cursor,
struct __netgrent *result,
char *buffer, size_t buflen,
int *errnop);
-libnss_files_hidden_proto (_nss_files_parse_protoent)
-libnss_files_hidden_proto (_nss_files_parse_servent)
-libnss_files_hidden_proto (_nss_files_parse_netent)
libnss_files_hidden_proto (_nss_netgroup_parseline)
#define DECLARE_NSS_PROTOTYPES(service) \