diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-09 12:55:10 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-17 12:19:29 +0100 |
commit | 057b87d0bd4dec88f414dd0dffd0c3481d26faa4 (patch) | |
tree | 2479e44c3018105c0bbdcc11aed7a713d449dcbc | |
parent | c8c3f0c608aa1b11717f1da6793ac9ca0d38a14f (diff) | |
download | samba-057b87d0bd4dec88f414dd0dffd0c3481d26faa4.tar.gz samba-057b87d0bd4dec88f414dd0dffd0c3481d26faa4.tar.bz2 samba-057b87d0bd4dec88f414dd0dffd0c3481d26faa4.zip |
lib/util: Remove unused sys_inet_makeaddr()
Found by callcatcher.
Andrew Bartlett
-rw-r--r-- | lib/util/samba_util.h | 2 | ||||
-rw-r--r-- | lib/util/system.c | 9 |
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. ****************************************************************************/ |