summaryrefslogtreecommitdiff
path: root/lib/util/samba_util.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-09 12:54:24 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-17 12:19:29 +0100
commitc8c3f0c608aa1b11717f1da6793ac9ca0d38a14f (patch)
tree3db795b85d3d9c5e86a96ca26d46913c5e7bd455 /lib/util/samba_util.h
parentb190e3cd79a7de79c62ad58fdc9d768ae96dc5e9 (diff)
downloadsamba-c8c3f0c608aa1b11717f1da6793ac9ca0d38a14f.tar.gz
samba-c8c3f0c608aa1b11717f1da6793ac9ca0d38a14f.tar.bz2
samba-c8c3f0c608aa1b11717f1da6793ac9ca0d38a14f.zip
lib/util: Remove unused sys_gethostbyname()
Found by callcatcher. Andrew Bartlett
Diffstat (limited to 'lib/util/samba_util.h')
-rw-r--r--lib/util/samba_util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h
index 8e8e7c1abd..56dbc059d8 100644
--- a/lib/util/samba_util.h
+++ b/lib/util/samba_util.h
@@ -117,12 +117,6 @@ void CatchChildLeaveStatus(void);
void *sys_memalign( size_t align, size_t size );
-/**************************************************************************
-A wrapper for gethostbyname() that tries avoids looking up hostnames
-in the root domain, which can cause dial-on-demand links to come up for no
-apparent reason.
-****************************************************************************/
-_PUBLIC_ struct hostent *sys_gethostbyname(const char *name);
_PUBLIC_ struct in_addr sys_inet_makeaddr(int net, int host);
/**