From 7e399fabd3db2c528b5982803eeba2841f547695 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 11 Sep 2018 12:32:46 -0400 Subject: apply hidden visibility to various remaining internal interfaces --- src/network/lookup.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/network/lookup.h') diff --git a/src/network/lookup.h b/src/network/lookup.h index 4c01b618..f1952af5 100644 --- a/src/network/lookup.h +++ b/src/network/lookup.h @@ -3,6 +3,7 @@ #include #include +#include struct address { int family; @@ -30,13 +31,13 @@ struct resolvconf { #define MAXADDRS 48 #define MAXSERVS 2 -int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, int flags); -int __lookup_name(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, int flags); -int __lookup_ipliteral(struct address buf[static 1], const char *name, int family); +hidden int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, int flags); +hidden int __lookup_name(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, int flags); +hidden int __lookup_ipliteral(struct address buf[static 1], const char *name, int family); -int __get_resolv_conf(struct resolvconf *, char *, size_t); -int __res_msend_rc(int, const unsigned char *const *, const int *, unsigned char *const *, int *, int, const struct resolvconf *); +hidden int __get_resolv_conf(struct resolvconf *, char *, size_t); +hidden int __res_msend_rc(int, const unsigned char *const *, const int *, unsigned char *const *, int *, int, const struct resolvconf *); -int __dns_parse(const unsigned char *, int, int (*)(void *, int, const void *, int, const void *), void *); +hidden int __dns_parse(const unsigned char *, int, int (*)(void *, int, const void *, int, const void *), void *); #endif -- cgit v1.2.1