diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-05 17:44:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:15 -0500 |
commit | c71c86c52458eefae8a34774ec186c2837f473af (patch) | |
tree | caeda5cdb47d5f6fefb4eabb50e66187823e5ac4 /source4/lib/util/system.c | |
parent | af30a32b6924b0f2b701186e435defbca2ebd1aa (diff) | |
download | samba-c71c86c52458eefae8a34774ec186c2837f473af.tar.gz samba-c71c86c52458eefae8a34774ec186c2837f473af.tar.bz2 samba-c71c86c52458eefae8a34774ec186c2837f473af.zip |
r13842: Make some more functions public.
(This used to be commit aac1b99b362993352d80692afa55c38fc851c016)
Diffstat (limited to 'source4/lib/util/system.c')
-rw-r--r-- | source4/lib/util/system.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/util/system.c b/source4/lib/util/system.c index 655b4a1054..5f8db9ef63 100644 --- a/source4/lib/util/system.c +++ b/source4/lib/util/system.c @@ -44,7 +44,7 @@ in the root domain, which can cause dial-on-demand links to come up for no apparent reason. ****************************************************************************/ -struct hostent *sys_gethostbyname(const char *name) +_PUBLIC_ struct hostent *sys_gethostbyname(const char *name) { #ifdef REDUCE_ROOT_DNS_LOOKUPS char query[256], hostname[256]; @@ -80,14 +80,14 @@ struct hostent *sys_gethostbyname(const char *name) #endif /* REDUCE_ROOT_DNS_LOOKUPS */ } -const char *sys_inet_ntoa(struct ipv4_addr in) +_PUBLIC_ const char *sys_inet_ntoa(struct ipv4_addr in) { struct in_addr in2; in2.s_addr = in.addr; return inet_ntoa(in2); } -struct ipv4_addr sys_inet_makeaddr(int net, int host) +_PUBLIC_ struct ipv4_addr sys_inet_makeaddr(int net, int host) { struct in_addr in; struct ipv4_addr in2; |