X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Finet_common.h;h=4638aa9ebc51a54c701eea97add025fa6b2f5a99;hb=2b1559056cf32c42675ecd937796e1455bcb5c2c;hp=f4374e5a21e3820cd56a0e92b97ec03bce1285a4;hpb=defc1ea34074e7882724c460260d307cdf981a70;p=oweals%2Fbusybox.git diff --git a/include/inet_common.h b/include/inet_common.h index f4374e5a2..4638aa9eb 100644 --- a/include/inet_common.h +++ b/include/inet_common.h @@ -6,8 +6,10 @@ * Heavily modified by Manuel Novoa III Mar 12, 2001 * */ +#ifndef INET_COMMON_H +#define INET_COMMON_H 1 -#include "platform.h" +PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN /* hostfirst!=0 If we expect this to be a hostname, try hostname database first @@ -24,3 +26,7 @@ int INET6_resolve(const char *name, struct sockaddr_in6 *sin6) FAST_FUNC; /* These return malloced string */ char *INET_rresolve(struct sockaddr_in *s_in, int numeric, uint32_t netmask) FAST_FUNC; char *INET6_rresolve(struct sockaddr_in6 *sin6, int numeric) FAST_FUNC; + +POP_SAVED_FUNCTION_VISIBILITY + +#endif