summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-09 12:55:10 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-17 12:19:29 +0100
commit057b87d0bd4dec88f414dd0dffd0c3481d26faa4 (patch)
tree2479e44c3018105c0bbdcc11aed7a713d449dcbc /lib/util
parentc8c3f0c608aa1b11717f1da6793ac9ca0d38a14f (diff)
downloadsamba-057b87d0bd4dec88f414dd0dffd0c3481d26faa4.tar.gz
samba-057b87d0bd4dec88f414dd0dffd0c3481d26faa4.tar.bz2
samba-057b87d0bd4dec88f414dd0dffd0c3481d26faa4.zip
lib/util: Remove unused sys_inet_makeaddr()
Found by callcatcher. Andrew Bartlett
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/samba_util.h2
-rw-r--r--lib/util/system.c9
2 files changed, 0 insertions, 11 deletions
diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h
index 56dbc059d8..a0989d5479 100644
--- a/lib/util/samba_util.h
+++ b/lib/util/samba_util.h
@@ -117,8 +117,6 @@ void CatchChildLeaveStatus(void);
void *sys_memalign( size_t align, size_t size );
-_PUBLIC_ struct in_addr sys_inet_makeaddr(int net, int host);
-
/**
* Wrapper for fork used to invalid pid cache.
**/
diff --git a/lib/util/system.c b/lib/util/system.c
index 3783e3243c..8625229404 100644
--- a/lib/util/system.c
+++ b/lib/util/system.c
@@ -75,15 +75,6 @@ void *sys_memalign( size_t align, size_t size )
#endif
}
-_PUBLIC_ struct in_addr sys_inet_makeaddr(int net, int host)
-{
- struct in_addr in;
- struct in_addr in2;
- in = inet_makeaddr(net, host);
- in2.s_addr = in.s_addr;
- return in2;
-}
-
/**************************************************************************
Wrapper for fork. Ensures we clear our pid cache.
****************************************************************************/